You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Define resource.dectectors.disabled_keys, to disable resource attribute keys provided by detectors
* Remove detectors abstraction
* Refactor to use included / excluded
Copy file name to clipboardExpand all lines: examples/kitchen-sink.yaml
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -398,5 +398,23 @@ resource:
398
398
#
399
399
# Environment variable: OTEL_SERVICE_NAME
400
400
service.name: !!str "unknown_service"
401
+
# Configure resource detectors.
402
+
detectors:
403
+
# Configure attributes provided by resource detectors.
404
+
attributes:
405
+
# Configure list of attribute key patterns to include from resource detectors. If not set, all attributes are included.
406
+
#
407
+
# Attribute keys from resource detectors are evaluated to match as follows:
408
+
# * If the value of the attribute key exactly matches.
409
+
# * If the value of the attribute key matches the wildcard pattern, where '?' matches any single character and '*' matches any number of characters including none.
410
+
included:
411
+
- process.*
412
+
# Configure list of attribute key patterns to exclude from resource detectors. Applies after .resource.detectors.attributes.included (i.e. excluded has higher priority than included).
413
+
#
414
+
# Attribute keys from resource detectors are evaluated to match as follows:
415
+
# * If the value of the attribute key exactly matches.
416
+
# * If the value of the attribute key matches the wildcard pattern, where '?' matches any single character and '*' matches any number of characters including none.
0 commit comments