Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute support across telemetry exporters. #1049

Open
vordimous opened this issue May 23, 2024 · 0 comments
Open

Attribute support across telemetry exporters. #1049

vordimous opened this issue May 23, 2024 · 0 comments
Labels
story Feature description from user's perspective

Comments

@vordimous
Copy link
Contributor

Describe the desired outcome from the user's perspective
As a DevOps engineer, I expect to specify common and custom attributes for my exported logs and metrics. I want the option to configure the value of any system generated attributes

Acceptance criteria

  • Attributes defined in a global scope are exported wherever allowed
  • Exporter specific attributes can be defined
  • Zilla generated attributes have the zilla. prefix
  • Zilla generated attributes are also available as ${attribute_name} parameters that can be used in any custom attributes

example schema:

telemetry:
  attributes:
    service.name: ${{ env.OTEL_SERVICE_NAME }}
    service.namespace: ${namespace}
    service.version: ${{ env.ZILLA_VERSION }}
    service.kind: proxy
    another.attribute: my data

  exporters:
    prometheus_metric_exporter:
      type: prometheus
      options:
        attributes:
          prom.binding: prom_ex_${qname}
        endpoints:
          - scheme: http
            path: /metrics
            port: 7190
    otel_exporter_otlp:
      type: otlp
      options:
        attributes:
          otlp.binding: otlp_ex_${qname}
        interval: 5
        signals:
          - logs
        endpoint:
          protocol: http
          location: ${{ env.OTEL_EXPORTER_OTLP_ENDPOINT }}
@vordimous vordimous added the story Feature description from user's perspective label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Feature description from user's perspective
Projects
None yet
Development

No branches or pull requests

1 participant