Skip to content

Conversation

MichelHollands
Copy link
Contributor

@MichelHollands MichelHollands commented Oct 9, 2020

Signed-off-by: Michel Hollands [email protected]

What this PR does:
Fix the incorrect grpc header used for IP logging. As per https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests the header cannot contain slashes.

Tested by running the steps in #3286 (without HAproxy even).

Which issue(s) this PR fixes:
Fixes #3286

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Michel Hollands <[email protected]>
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM! Could you add a CHANGELOG entry for the [BUGFIX], please?

@pracucci pracucci merged commit 9d4fb4c into cortexproject:master Oct 9, 2020
@MichelHollands MichelHollands deleted the fix_ip_address_logging branch October 9, 2020 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

log_source_ips_enabled breaks distributor
3 participants