-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Improve promtail configuration docs #1602
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning this up! The configuration page definitely needs the same attention that the individual stage pages got. I just have a few minor nits about proper nouns and some other small feedback, but this is looking good.
``` | ||
① This location needs to be writeable by promtail. | ||
② A `job` label is fairly standard in prometheus and useful for linking metrics and logs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we say which label is mandatory and why or is it already somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are any labels mandatory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well aside from __path__
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think __host__
is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Codecov Report
@@ Coverage Diff @@
## master #1602 +/- ##
=======================================
Coverage 60.63% 60.63%
=======================================
Files 106 106
Lines 8052 8052
=======================================
Hits 4882 4882
Misses 2784 2784
Partials 386 386 |
…, added the docker and cri stages, clarified and improved the examples a little. Signed-off-by: Edward Welch <[email protected]>
Signed-off-by: Edward Welch <[email protected]>
Co-Authored-By: Robert Fratto <[email protected]>
Co-Authored-By: Robert Fratto <[email protected]>
Signed-off-by: Edward Welch <[email protected]>
f39650c
to
77c32a9
Compare
* added interfaces for store spceific limits NewStore method in pkg/storage uses Overrides type defined in Cortex itself. Added an interface to let consumers of that method pass any type which implements required methods This is done as part of way to let projects using Cortex, define their own limits Signed-off-by: Sandeep Sukhani <[email protected]> * renamed interface CompositeStoreLimits to StoreLimits Signed-off-by: Sandeep Sukhani <[email protected]>
Fixes #1593 (or at least improves)
The promtail configs were missing the
docker
andcri
stages as well as had potentially confusing names in the docs vs the actual stage names.Also the docker example was difficult to follow because every OS logs docker logs to a different location.
Signed-off-by: Edward Welch [email protected]