Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Panic for prometheus metrics when CustomFields are set #333

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

Issif
Copy link
Member

@Issif Issif commented Jun 16, 2022

… labels for Loki for CustomFields and ExtraFields

Signed-off-by: Issif [email protected]

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

#330

Uncomment one (or more) /area <> lines:

/area build

/area config

/area outputs

/area tests

What this PR does / why we need it:

Fix the Panic for Prometheus when custom_fields are set
Allow to specify which fields to use as extra labels for Prometheus and Loki
Some lints

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

… labels for Loki for CustomFields and ExtraFields

Signed-off-by: Issif <[email protected]>
@poiana
Copy link

poiana commented Jun 17, 2022

LGTM label has been added.

Git tree hash: 6d0fe4107a897c6a9fb7184e2b3348bcab29ac28

@poiana
Copy link

poiana commented Jun 17, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fjogeleit, Issif

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 44beeb3 into master Jun 17, 2022
@poiana poiana deleted the fix-customfields-labels branch June 17, 2022 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants