You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Marton Greber (Jira)" <ji...@apache.org> on 2026/05/04 13:35:00 UTC
[jira] [Created] (KUDU-3775) BuildPrometheusLabels DCHECK restricts new Prometheus label format to known entity types
Marton Greber created KUDU-3775:
-----------------------------------
Summary: BuildPrometheusLabels DCHECK restricts new Prometheus label format to known entity types
Key: KUDU-3775
URL: https://issues.apache.org/jira/browse/KUDU-3775
Project: Kudu
Issue Type: Improvement
Reporter: Marton Greber
BuildPrometheusLabels() in prometheus_writer.cc contains a DCHECK that
hard-codes the set of valid entity types to "server", "table", and "tablet":
DCHECK(entity_type == "server" ||
entity_type == "table" ||
entity_type == "tablet")
This prevents enabling --metrics_prometheus_use_entity_labels=true for
any entity type outside this set, including synthetic test entities
(e.g. "test_entity"). As a result, unit tests for Prometheus filtering
(KUDU-3690) cannot use the new label-based format and are forced to
rely on the legacy format instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)