When grafterm doesn't show anything may be that has errors getting metrics or similar. There is available a --debug flag that will write a log on graf

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-04-29 04:00:07

When grafterm doesn't show anything may be that has errors getting metrics or similar. There is available a --debug flag that will write a log on grafterm.log (this path can be override with --log-path flag)

Setting a fixed time range to visualize the metrics using duration notation. In this example is start at now-22h and end at now-20h

Replace dashboard prometheus datasource with user datasource thanos-prometheus available on /tmp/my-datasources.json user datasource configuration file:

Grafterm dashboards can have default datasources but the user can override these datasources using a datasources config file. This file has the same format as the dashboard configuration file but will ignore anything other than the datasources block. Example:

If the dashboard has defined a datasource configuration with the ID my-ds reference, and the user datasources has this same datasource ID, grafterm will use the user defined one when the queries in the dashboard reference this ID.

Apart from overriding the dashboard datasources IDs that match with the user datasources, the user can force an alias with the form dashboard-ds-id=user-ds-id.

Leave a Comment