Skip to content

Commit

Permalink
add prometheus without units & type suffix options (#61)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten authored Dec 15, 2023
1 parent 6f5cbbb commit 561a442
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 6 additions & 0 deletions schema/meter_provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@
},
"port": {
"type": "integer"
},
"without_units": {
"type": "boolean"
},
"without_type_suffix": {
"type": "boolean"
}
}
},
Expand Down

0 comments on commit 561a442

Please sign in to comment.