Peter Rozsa has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22296
Change subject: IMPALA-13640: Remove invalid characters from Prometheus metric names ...................................................................... IMPALA-13640: Remove invalid characters from Prometheus metric names This patch extends the invalid character filtering for Prometheus metric names by using a negative regular expression pattern to replace every unsupported character with an underscore. An additional step merges multiple underscores. Tests: - Unit tests extended Change-Id: I8425b4c957ef6bf785849fff26ebabd775345a02 --- M be/src/util/metrics-test.cc M be/src/util/metrics.cc 2 files changed, 18 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/96/22296/1 -- To view, visit http://gerrit.cloudera.org:8080/22296 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8425b4c957ef6bf785849fff26ebabd775345a02 Gerrit-Change-Number: 22296 Gerrit-PatchSet: 1 Gerrit-Owner: Peter Rozsa <pro...@cloudera.com>