metricsgenreceiver/internal/metricstmpl/builtin/elasticapm-service-metrics-resource-attributes.yaml [1:7]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
resourceMetrics:
  - resource:
      attributes:
        - { key: agent.name, value: { stringValue: "otlp/{{.ModFrom .InstanceID `go` `java` `dotnet` `nodejs`}}" } }
        - { key: telemetry.sdk.language, value: { stringValue: "{{.ModFrom .InstanceID `go` `java` `dotnet` `nodejs`}}" } }
        - { key: deployment.environment, value: { stringValue: "{{.RandomFrom `production` `staging` `test`}}" } }
        - { key: service.name, value: { stringValue: "service_{{.InstanceID}}" } }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



metricsgenreceiver/internal/metricstmpl/builtin/elasticapm-span-destination-metrics-resource-attributes.yaml [1:7]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
resourceMetrics:
  - resource:
      attributes:
        - { key: agent.name, value: { stringValue: "otlp/{{.ModFrom .InstanceID `go` `java` `dotnet` `nodejs`}}" } }
        - { key: telemetry.sdk.language, value: { stringValue: "{{.ModFrom .InstanceID `go` `java` `dotnet` `nodejs`}}" } }
        - { key: deployment.environment, value: { stringValue: "{{.RandomFrom `production` `staging` `test`}}" } }
        - { key: service.name, value: { stringValue: "service_{{.InstanceID}}" } }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



