Open javabrett opened 3 years ago
V2 API added resource io.confluent.kafka.schema_registry and an initial metric io.confluent.kafka.schema_registry/schema_count. Exporter could collect this metric.
io.confluent.kafka.schema_registry
io.confluent.kafka.schema_registry/schema_count
Sample query:
{ "aggregations": [ { "agg": "SUM", "metric": "io.confluent.kafka.schema_registry/schema_count" } ], "filter": { "field": "resource.schema_registry.id", "op": "EQ", "value": "lsrc-xxxxx" }, "granularity": "PT1H", "intervals": [ "2021-02-23T11:00:00+11:00/P0Y0M0DT1H0M0S" ], "group_by": [ "resource.schema_registry.id" ] }
Example response/metric:
{ "data": [ { "timestamp": "2021-02-23T00:00:00Z", "value": 9.0, "resource.schema_registry.id": "lsrc-rw6m7" } ] }
V2 API added resource
io.confluent.kafka.schema_registry
and an initial metricio.confluent.kafka.schema_registry/schema_count
. Exporter could collect this metric.Sample query:
Example response/metric: