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
Configure additional attribute in dimensions as described in the documentation, such as adding k8s.namespace.name, and find that the resulting metric or logs do not record k8s.namespace.name:
exceptions/traces:
dimensions:
- name: k8s.namespace.name # 👈 add additional dimension that dons't in span or event attributes
- name: exception.type
- name: exception.message
- name: exception.stacktrace# span name
- name: name
…take effect for resource attributes (#34604)
**Description:** Fix dimensions configuration did not take effect for
resource attributes
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
**Link to tracking Issue:** #34603
**Testing:** <Describe what testing was performed and which tests were
added.>
**Documentation:** <Describe the documentation added.>
Signed-off-by: Jared Tan <[email protected]>
…take effect for resource attributes (open-telemetry#34604)
**Description:** Fix dimensions configuration did not take effect for
resource attributes
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
**Link to tracking Issue:** open-telemetry#34603
**Testing:** <Describe what testing was performed and which tests were
added.>
**Documentation:** <Describe the documentation added.>
Signed-off-by: Jared Tan <[email protected]>
Component(s)
connector/exceptions
What happened?
Description
Configure additional attribute in dimensions as described in the documentation, such as adding
k8s.namespace.name
, and find that the resultingmetric
orlogs
do not recordk8s.namespace.name
:opentelemetry-collector-contrib/connector/exceptionsconnector/connector_logs.go
Line 71 in d46a7c3
I think we need should pass a resource attribute, similar to spanmetricconnector
opentelemetry-collector-contrib/connector/spanmetricsconnector/connector.go
Line 524 in d46a7c3
Collector version
main
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: