open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.03k stars 2.34k forks source link

[receiver/otlpjsonfile] Add support for profiles signal #35977

Open mx-psi opened 2 hours ago

mx-psi commented 2 hours ago

Component(s)

receiver/otlpjsonfile

Describe the issue you're reporting

This receiver would be useful for testing and validation of the experimental profiling signal.

As inspiration for how to add support this PR can be used: open-telemetry/opentelemetry-collector/pull/11071

Example of configuration using profiles (needs service.profilesSupport feature gate to be enabled):

receivers:
  otlp:
    protocols:
      grpc:
exporters:
  otlp:
    endpoint: ${OTLP_ENDPOINT}
service:
  pipelines:
    profiles:
      receivers: [otlp]
      exporters: [otlp]
github-actions[bot] commented 2 hours ago

Pinging code owners for receiver/otlpjsonfile: @djaglowski @atoulme. See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] commented 2 hours ago

Pinging code owners: