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

Promtail: adding pipeline stage inspector #4011

Merged
merged 10 commits into from
Jul 21, 2021

Conversation

dannykopping
Copy link
Contributor

What this PR does / why we need it:
This PR adds detailed debugging information while creating pipelines in scrape_configs.

image

When providing the -inspect flag, Promtail will output a diff of the entry as it goes through each pipeline stage; the entry contains a line, timestamp, labels and extracted fields - each of these will have diffs detected.

Which issue(s) this PR fixes:
N/A

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

Danny Kopping added 3 commits July 19, 2021 17:30
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Danny Kopping added 4 commits July 19, 2021 17:56
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Copy link
Contributor

@KMiller-Grafana KMiller-Grafana left a comment

Choose a reason for hiding this comment

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

I approve this documentation with a few changes.

docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
Danny Kopping and others added 2 commits July 20, 2021 21:50
Co-authored-by: Karen Miller <84039272+KMiller-Grafana@users.noreply.github.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
docs/sources/clients/promtail/troubleshooting.md Outdated Show resolved Hide resolved
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@dannykopping dannykopping merged commit ac63ea8 into grafana:main Jul 21, 2021
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.

3 participants