Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
remove id
patcher99dcdb89e708e6
diff --git a/docs/0.1/api-reference/openiapi.yml b/docs/0.1/api-reference/openiapi.ymlindex 6b743658..8771c604 100644--- a/docs/0.1/api-reference/openiapi.yml+++ b/docs/0.1/api-reference/openiapi.yml@@ -174,8 +174,6 @@ components:created_at:type: stringformat: date-time- id:- type: stringlogsUrl:type: stringlogsUsername:diff --git a/docs/latest/api-reference/openiapi.yml b/docs/latest/api-reference/openiapi.ymlindex 6b743658..8771c604 100644--- a/docs/latest/api-reference/openiapi.yml+++ b/docs/latest/api-reference/openiapi.yml@@ -174,8 +174,6 @@ components:created_at:type: stringformat: date-time- id:- type: stringlogsUrl:type: stringlogsUsername:diff --git a/src/ingester/db/db.go b/src/ingester/db/db.goindex 1fd523d9..d763c9fa 100644--- a/src/ingester/db/db.go+++ b/src/ingester/db/db.go@@ -566,16 +566,16 @@ func GetConnection(existingAPIKey string) (map[string]interface{}, error) {connectionDetails := map[string]interface{}{}// Prepare the ClickHouse SQL query.- query := fmt.Sprintf(`SELECT id, platform, metricsUrl, logsUrl, apiKey, metricsUsername, logsUsername, created_at FROM %s ORDER BY id LIMIT 1`, doku_connections_table)+ query := fmt.Sprintf(`SELECT platform, metricsUrl, logsUrl, apiKey, metricsUsername, logsUsername, created_at FROM %s ORDER BY id LIMIT 1`, doku_connections_table)// QueryRow executes the query and returns at most one row.row := db.QueryRow(ctx, query)- var id, platform, metricsUrl, logsUrl, apiKey, metricsUsername, logsUsername string+ var platform, metricsUrl, logsUrl, apiKey, metricsUsername, logsUsername stringvar createdAt time.Time// Scan the results into variables.- err = row.Scan(&id, &platform, &metricsUrl, &logsUrl, &apiKey, &metricsUsername, &logsUsername, &createdAt)+ err = row.Scan(&platform, &metricsUrl, &logsUrl, &apiKey, &metricsUsername, &logsUsername, &createdAt)if err != nil {if err == sql.ErrNoRows {log.Info().Msg("No configuration found in the database.")@@ -586,7 +586,6 @@ func GetConnection(existingAPIKey string) (map[string]interface{}, error) {}// Populate the results map.- connectionDetails["id"] = idconnectionDetails["platform"] = platformconnectionDetails["metricsUrl"] = metricsUrlconnectionDetails["logsUrl"] = logsUrl