Skip to content

Commit

Permalink
add comments for included/excluded
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed May 8, 2024
1 parent b38388d commit 3a812cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ meter_provider:
without_scope_info: false
# Configure Prometheus Exporter to add resource attributes as metrics attributes.
with_resource_constant_labels:
# Configure resource attributes to be included, in this example attributes starting with service.
included:
- "service.*"
- "service*"
# Configure resource attributes to be excluded, in this example attribute service.attr1.
excluded:
- "otherattribute"
- "service.attr1"
# Configure a periodic metric reader.
- periodic:
# Configure delay interval (in milliseconds) between start of two consecutive exports.
Expand Down

0 comments on commit 3a812cb

Please sign in to comment.