Skip to content

Design configuration syntax for metrics with arbitrary attributes #1636

@jfallows

Description

@jfallows

Support arbitrary attributes in telemetric metrics, with either literal values, resolver expressions, or binding-specific expressions.

For example, something like this.

binding:
  type: http
  kind: server
  options:
    ...
  routes:
    ...
  telemetry:
    metrics:
      - http.duration
    attributes:
      method: ${http.request.method}
      path: ${http.request.path}
      status: ${http.response.status}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions