-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Mixin: Follow naming convention for bucketReplicate #4859
Mixin: Follow naming convention for bucketReplicate #4859
Conversation
absent(up{job=~".*thanos-bucket-replicate.*"} == 1) | ||
for: 5m | ||
labels: | ||
severity: critical |
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.
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.
Yes, there is another generator that handles the generation of these alerts. This was redundant.
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 this! 💫
Docs check seems to fail due to examples/alerts/alerts.yaml
not being updated. I think running make examples-clean
and then make docs
will fix this.
Maybe this is a Makefile issue due to examples/alerts/alerts.yaml
not being phony. 🤔
Signed-off-by: Jéssica Lins <[email protected]>
Signed-off-by: Jéssica Lins <[email protected]>
Signed-off-by: Jéssica Lins <[email protected]>
54341bf
to
87a5a94
Compare
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.
Looks good. Thanks for taking care of this.
I have already commented inline, it would be amazing to keep snake_case for filenames but use camelCase for variable names in code.
absent(up{job=~".*thanos-bucket-replicate.*"} == 1) | ||
for: 5m | ||
labels: | ||
severity: critical |
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.
Yes, there is another generator that handles the generation of these alerts. This was redundant.
Signed-off-by: Jéssica Lins <[email protected]>
Signed-off-by: Jéssica Lins <[email protected]>
Signed-off-by: Jéssica Lins <[email protected]>
Signed-off-by: Jéssica Lins <[email protected]>
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 🚀
Signed-off-by: Jéssica Lins <[email protected]>
Signed-off-by: Jéssica Lins <[email protected]>
Head branch was pushed to by a user without write access
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.
Not sure why CodeQL job is queued. Merge it manually...
Signed-off-by: Jéssica Lins [email protected]
Changes
As discussed here and to follow up on this TODO:
thanos/mixin/config.libsonnet
Lines 56 to 57 in b1c7483
I just renamed
bucket_replicate
->bucketReplicate
to keep the naming convention consistent.Verification
After the changes I've ran
make examples
to regenerate the files.