You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5cd7090
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/api/openapi.json
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -620,11 +620,10 @@
620
620
"nullable": true,
621
621
"example": "hyperdx_"
622
622
},
623
-
"prometheusEndpoint": {
624
-
"type": "string",
625
-
"description": "Optional Prometheus-compatible API endpoint. When set, PromQL queries are proxied to this endpoint.",
626
-
"nullable": true,
627
-
"example": "http://prometheus:9090"
623
+
"isPrometheusEndpoint": {
624
+
"type": "boolean",
625
+
"description": "Optional. When true, `host` is treated as a Prometheus-compatible API endpoint (e.g. Prometheus or Thanos) and PromQL queries are proxied to it. When false or omitted, `host` is a ClickHouse HTTP endpoint.",
626
+
"example": false
628
627
},
629
628
"createdAt": {
630
629
"type": "string",
@@ -675,10 +674,10 @@
675
674
"nullable": true,
676
675
"example": "hyperdx_"
677
676
},
678
-
"prometheusEndpoint": {
679
-
"type": "string",
680
-
"description": "OptionalPrometheus-compatible API endpoint. When set, PromQL queries are proxied to this endpoint.",
681
-
"example": "http://prometheus:9090"
677
+
"isPrometheusEndpoint": {
678
+
"type": "boolean",
679
+
"description": "Optional. When true, `host` is treated as a Prometheus-compatible API endpoint (e.g. Prometheus or Thanos) and PromQL queries are proxied to it. When false or omitted, `host` is a ClickHouse HTTP endpoint.",
680
+
"example": false
682
681
}
683
682
}
684
683
},
@@ -717,11 +716,10 @@
717
716
"nullable": true,
718
717
"example": "hyperdx_"
719
718
},
720
-
"prometheusEndpoint": {
721
-
"type": "string",
722
-
"description": "Optional Prometheus-compatible API endpoint. Set to null to clear the existing value. If omitted, the existing value is kept.",
723
-
"nullable": true,
724
-
"example": "http://prometheus:9090"
719
+
"isPrometheusEndpoint": {
720
+
"type": "boolean",
721
+
"description": "Optional. When true, `host` is treated as a Prometheus-compatible API endpoint. When false or omitted, `host` is a ClickHouse HTTP endpoint. Omit to keep the existing value unchanged.",
0 commit comments