From 561a442e0b095f200e713b4e0dc7c24213012aab Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Fri, 15 Dec 2023 14:01:33 -0800 Subject: [PATCH] add prometheus without units & type suffix options (#61) Signed-off-by: Alex Boten --- examples/kitchen-sink.yaml | 2 ++ schema/meter_provider.json | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/examples/kitchen-sink.yaml b/examples/kitchen-sink.yaml index 4e31046..3bc13fd 100644 --- a/examples/kitchen-sink.yaml +++ b/examples/kitchen-sink.yaml @@ -118,6 +118,8 @@ meter_provider: # # Environment variable: OTEL_EXPORTER_PROMETHEUS_PORT port: 9464 + without_units: false + without_type_suffix: false # Configure a periodic metric reader. - periodic: # Configure delay interval (in milliseconds) between start of two consecutive exports. diff --git a/schema/meter_provider.json b/schema/meter_provider.json index 9c6dc79..07d458b 100644 --- a/schema/meter_provider.json +++ b/schema/meter_provider.json @@ -84,6 +84,12 @@ }, "port": { "type": "integer" + }, + "without_units": { + "type": "boolean" + }, + "without_type_suffix": { + "type": "boolean" } } },