Skip to content

Otel converters should use backticks instead of escaping double quotes #3690

Open
@wildum

Description

@wildum

This is what the converter generates now:
"resource.attributes[\"service.name\"] == \"unknown_service\""

For better readability, the converter could use backticks:
`resource.attributes["service.name"] == "unknown_service"`

This would match better with the otel format:

processors:
  filter/drop_unwanted_telemetry:
    logs:
      log_record:
        - 'resource.attributes["service.name"] == "unknown_service"'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions