This import layout is used in the official Checkmk 2.5 graphing examples.
Verify that all five graphs are displayed correctly: TPS, Tick Time, Players, Ping, and Protocol Version.
Please preserve the previous ms units and the custom Online and Max labels by adding the corresponding metric definitions for the new graphing API.
Please also preserve the TPS threshold visualization. The existing TPS thresholds can be added as fixed constants directly to the graph definition. The new API provides Constant objects, which can be used as simple lines in the graph.
Thank you!
The migration generally looks good for Checkmk 2.5.0. Before merging, I would like you to check the following:
* Please consider using the documented public import path:
```python
from cmk.graphing.v1 import Title
from cmk.graphing.v1.graphs import Graph
```
This import layout is used in the official Checkmk 2.5 graphing examples.
* Verify that all five graphs are displayed correctly: TPS, Tick Time, Players, Ping, and Protocol Version.
* Please preserve the previous `ms` units and the custom `Online` and `Max` labels by adding the corresponding metric definitions for the new graphing API.
* Please also preserve the TPS threshold visualization. The existing TPS thresholds can be added as fixed constants directly to the graph definition. The new API provides `Constant` objects, which can be used as simple lines in the graph.
---
Useful documentation:
https://docs.checkmk.com/latest/en/devel_check_plugins.html#metrics_advanced
https://docs.checkmk.com/plugin-api/master/cmk.graphing/v1.metrics.html
https://docs.checkmk.com/plugin-api/master/cmk.graphing/v1.graphs.html
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #1
Thank you!
The migration generally looks good for Checkmk 2.5.0. Before merging, I would like you to check the following:
Please consider using the documented public import path:
This import layout is used in the official Checkmk 2.5 graphing examples.
Verify that all five graphs are displayed correctly: TPS, Tick Time, Players, Ping, and Protocol Version.
Please preserve the previous
msunits and the customOnlineandMaxlabels by adding the corresponding metric definitions for the new graphing API.Please also preserve the TPS threshold visualization. The existing TPS thresholds can be added as fixed constants directly to the graph definition. The new API provides
Constantobjects, which can be used as simple lines in the graph.Useful documentation:
https://docs.checkmk.com/latest/en/devel_check_plugins.html#metrics_advanced
https://docs.checkmk.com/plugin-api/master/cmk.graphing/v1.metrics.html
https://docs.checkmk.com/plugin-api/master/cmk.graphing/v1.graphs.html
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.