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

Initial Mixin #25

Merged
merged 1 commit into from
Nov 19, 2018
Merged

Initial Mixin #25

merged 1 commit into from
Nov 19, 2018

Conversation

gouthamve
Copy link
Member

One big issue is that we are using the same cortex-gw hence the recording-rules and alerts for the frontend are the same.

@gouthamve gouthamve requested a review from tomwilkie July 9, 2018 09:50
alert: 'LogishIngesterUnhealthy',
'for': '15m',
expr: |||
min(logish_ring_ingesters{state="Unhealthy", job=~"[a-z]+/distributor"}) by (namespace, job) > 0
Copy link
Contributor

Choose a reason for hiding this comment

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

expr: |||
100 * sum(rate(cortex_gw_request_duration_seconds_count{status_code=~"5.."}[1m])) by (namespace, job, route)
/
sum(rate(logish_gw_request_duration_seconds_count[1m])) by (namespace, job, route)
Copy link
Contributor

Choose a reason for hiding this comment

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

logish_gw_request_duration_seconds_count?

{
alert: 'LogishRequestLatency',
expr: |||
namespace_job_route:logish_request_duration_seconds:99quantile{route!="metrics"} > 1
Copy link
Contributor

Choose a reason for hiding this comment

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

namespace_job_route:logish_request_duration_seconds?

@tomwilkie
Copy link
Contributor

Can we also have a promtail mixin please? An alerts on errors writing entries, latency and the usual dashboard.

@gouthamve
Copy link
Member Author

Done

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
@tomwilkie tomwilkie merged commit 0ade92a into master Nov 19, 2018
@tomwilkie tomwilkie deleted the mixin branch November 19, 2018 18:10
periklis pushed a commit to periklis/loki that referenced this pull request Dec 6, 2021
periklis added a commit to periklis/loki that referenced this pull request Sep 16, 2022
Update from upstream repository
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