grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.64k stars 574 forks source link

Pyroscope write to remote endpoint [AWS ALB] returns 405 Method Not Allowed #3392

Open codevally opened 5 days ago

codevally commented 5 days ago

Describe the bug

We are using Grafana alloy to push. profiles to a remote Pyroscope endpoint (backed by AWS ALB), but alloy throwing this error. ts=2024-06-27T10:04:34.401994086Z level=warn msg="failed to push to endpoint" component_path=/ component_id=pyroscope.write.endpoint endpoint=https://profiling.remote.url.com/ingest err="unknown: 405 Method Not Allowed"

To Reproduce

Steps to reproduce the behavior: Remote pyroscope behind AWS ALB and Grafana alloy push profiles vis pyroscope.write

  1. Start Pyroscope (SHA or version) 1.6.0
  2. Perform Operations(Read/Write/Others) Write

Expected behavior

Remove Pyroscope distributor component should receive the profile data without an erro/warn.

Environment

Additional Context