Skip to content

pyroscope.receive_http treats headers inconsistently #2612

Open
@simonswine

Description

@simonswine

pyroscope.receive_http supports forwarding pushv1 and ingest handler.

For the pushv1 non of the headers are forwarded, while the ingest handler forwards all but a block list of headers:

https://github.com/simonswine/alloy/blob/755bcfcb5ab193488a226f467216b93ce98c6cd1/internal/component/pyroscope/write/write.go#L45-L52

I suggest we should only forward headers, that are important for parsing of the profiles, which includes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions