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

Grafana builder: make status code label name override able #397

Merged
merged 2 commits into from
Dec 7, 2020

Conversation

bergquist
Copy link
Contributor

Signed-off-by: bergquist [email protected]

@bergquist bergquist requested a review from tomwilkie December 4, 2020 07:21
+ ' "status", "${1}xx", "status_code", "([0-9]).."),'
+ ' "status", "${1}", "status_code", "([a-z]+)"))',
+ ' "status", "${1}xx", "' + statusLabelName + '", "([0-9]).."),'
+ ' "status", "${1}", "' + statusLabelName + '", "([a-z]+)"))',
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you use string formatting here?

Signed-off-by: bergquist <[email protected]>
@bergquist bergquist requested a review from tomwilkie December 7, 2020 07:47
@bergquist bergquist merged commit 9c3fb80 into master Dec 7, 2020
@bergquist bergquist deleted the grafana_builder_status_label branch December 7, 2020 21:14
bboreham added a commit to grafana/cortex-jsonnet that referenced this pull request Aug 18, 2021
Brings in the following changes:
- Use default as a picker value for datasource variable grafana/jsonnet-libs#204
- allow table link in new tab grafana/jsonnet-libs#238
- allow setting a default datasource grafana/jsonnet-libs#301
- Add textPanel grafana/jsonnet-libs#341
- make status code label name overrideable in qpsPanel grafana/jsonnet-libs#397
- use $__rate_interval over $__interval grafana/jsonnet-libs#401
- Set shared tooltip to false by default grafana/jsonnet-libs#458
- Use custom 'all' value to avoid massive regexes in queries. grafana/jsonnet-libs#469

https://github.com/grafana/jsonnet-libs/commits/master/grafana-builder/
bboreham added a commit to grafana/cortex-jsonnet that referenced this pull request Aug 18, 2021
Brings in the following changes:
- Use default as a picker value for datasource variable grafana/jsonnet-libs#204
- allow table link in new tab grafana/jsonnet-libs#238
- allow setting a default datasource grafana/jsonnet-libs#301
- Add textPanel grafana/jsonnet-libs#341
- make status code label name overrideable in qpsPanel grafana/jsonnet-libs#397
- use $__rate_interval over $__interval grafana/jsonnet-libs#401
- Set shared tooltip to false by default grafana/jsonnet-libs#458
- Use custom 'all' value to avoid massive regexes in queries. grafana/jsonnet-libs#469

https://github.com/grafana/jsonnet-libs/commits/master/grafana-builder/
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