Skip to content

Use long-form headers instead of shortcut#43

Merged
hrxi merged 1 commit into
hrxi:masterfrom
jeffesquivels:master
May 4, 2026
Merged

Use long-form headers instead of shortcut#43
hrxi merged 1 commit into
hrxi:masterfrom
jeffesquivels:master

Conversation

@jeffesquivels
Copy link
Copy Markdown
Contributor

@jeffesquivels jeffesquivels commented May 2, 2026

Replace the shortcut header "Content-type: application/x-snappy" with the proper two headers (Content-type: "application/x-protobuf" and Content-encoding: "snappy") it's meant to represent.

This enables compatibility with OpenTelemetry's Collector Loki receiver plugin while maintaining compatibility with Loki itself (tested it against Loki v3.7.1, which is the latest version as of this moment).

Replace the shortcut header "Content-type: application/x-snappy" with the
proper two headers (Content-type: "application/x-protobuf" and
Content-encoding: "snappy") it's meant to represent.
Copy link
Copy Markdown
Owner

@hrxi hrxi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. :)

@hrxi hrxi merged commit 66a12ce into hrxi:master May 4, 2026
2 checks passed
@hrxi
Copy link
Copy Markdown
Owner

hrxi commented May 4, 2026

I released 0.2.7 containing this commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants