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
| GET |https://api.clickhouse.cloud/v1/organizations/:organizationId/services/:serviceId/prometheus| Returns the full set of metrics |
22
-
| GET |https://api.clickhouse.cloud/v1/organizations/:organizationId/services/:serviceId/prometheus?filtered_metrics=true|Returns a filtered list of metrics to reduce response payload size|
21
+
| GET |https://api.clickhouse.cloud/v1/organizations/:organizationId/services/:serviceId/prometheus?filtered_metrics=[true| false]| Returns metrics for a specific service|
22
+
| GET |https://api.clickhouse.cloud/v1/organizations/:organizationId/prometheus?filtered_metrics=[true|false]| Returns metrics for all services in an organization|
Note the `honor_labels` configuration parameter needs to be set to `true` for the instance label to be properly populated.
130
+
Note the `honor_labels` configuration parameter needs to be set to `true` for the instance label to be properly populated. Additionally, `filtered_metrics` is set to `true` in the above example, but should be configured based on user preference.
124
131
125
132
## Integrating with Grafana
126
133
@@ -178,8 +185,8 @@ The following shows an example configuration for Alloy with a `prometheus.scrape
178
185
prometheus.scrape "clickhouse_cloud" {
179
186
// Collect metrics from the default listen address.
// e.g. https://api.clickhouse.cloud/v1/organizations/97a33bdb-4db3-4067-b14f-ce40f621aae1/services/f7fefb6e-41a5-48fa-9f5f-deaaa442d5d8/prometheus?filtered_metrics=true
219
226
}]
220
227
221
228
honor_labels = true
@@ -249,7 +256,7 @@ You can use the Datadog [Agent](https://docs.datadoghq.com/agent/?tab=Linux) and
0 commit comments