-
Notifications
You must be signed in to change notification settings - Fork 11
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
Yaml configuration #211
Merged
DifferentialOrange
merged 25 commits into
master
from
DifferentialOrange/yaml-configuration
May 23, 2023
Merged
Yaml configuration #211
DifferentialOrange
merged 25 commits into
master
from
DifferentialOrange/yaml-configuration
May 23, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DifferentialOrange
force-pushed
the
DifferentialOrange/yaml-configuration
branch
5 times, most recently
from
May 16, 2023 12:48
a201126
to
b517c65
Compare
After this patch, code uses a single place to extract the configuration parameters like datasource type, datasource, datasource parameters, alias filters etc. Part of #206
This patch finishes the migration of existing queries to new filter system. Part of #206
After this patch, it will be possible to disable some default filters, like job. Part of #206
Remove redundant "include all" regex for alias if no condition required (like in some static built dashboards). Part of #206
Support custom description and Grafana tags on manual build.
Build template queries based on cfg value.
DifferentialOrange
force-pushed
the
DifferentialOrange/yaml-configuration
branch
from
May 17, 2023 12:20
b517c65
to
31445fe
Compare
I have asked @palage4a to try this implementation to solve their issues. If everything would be alright, I'll merge this PR. |
DifferentialOrange
force-pushed
the
DifferentialOrange/yaml-configuration
branch
from
May 23, 2023 16:10
3fc1eb4
to
5ee07d6
Compare
Grafana revisions: - InfluxDB revision 17 [1], - Prometheus revision 17 [2], - InfluxDB TDG revision 6 [3], - Prometheus TDG revision 6 [4]. This release introduces several breaking changes for those using this repository as a library after migrating to new build system. See updated README. Added: - Custom filters support on static build - Option to skip Prometheus job on static build - Option to static build with custom set of sections - Custom description and Grafana tags on manual build - API to build a dashboard from YAML config - Support for metrics prefix on manual build Changed: - Display two digits after decimal point instead of three - Deprecate make single line static build - Hide additional columns in overview table Fixed: - TDG Kafka brokers rps panels alias condition for InfluxDB - Fill missing values with null on TDG CPU panels for InfluxDB - Remove useless kind group in TDG jobs panels for InfluxDB - CRUD tuples query alias filtering for Prometheus - TDG tuples query alias filtering - Policy in alias extraction for InfluxDB dashboards - Remove redundant "include all" regex for alias if no condition required 1. https://grafana.com/api/dashboards/12567/revisions/17/download 2. https://grafana.com/api/dashboards/13054/revisions/17/download 3. https://grafana.com/api/dashboards/16405/revisions/6/download 4. https://grafana.com/api/dashboards/16406/revisions/6/download
DifferentialOrange
force-pushed
the
DifferentialOrange/yaml-configuration
branch
from
May 23, 2023 16:17
21bcffd
to
742c14f
Compare
This was referenced May 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Run
to build a dashboard based on your custom configuration. (Use
OUTPUT=mydashboard.json
to customize output path.) You'll need jsonnet 0.20.0 or newer for that.Configuration description
Example: prometheus dashboard with template variable
Example: prometheus static dashboard
Example: prometheus static dashboard with additional labels
Example: prometheus static dashboard with specific sections
Example: prometheus static TDG dashboard
Example: influxdb dashboard with template variable
Example: influxdb static dashboard
Closes #204
Closes #206
Closes #207