Skip to content
Snippets Groups Projects
Commit a4e23e0a authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

doc update

parent 13101777
No related branches found
No related tags found
No related merge requests found
...@@ -26,9 +26,9 @@ class RendererObject(io.StringIO): ...@@ -26,9 +26,9 @@ class RendererObject(io.StringIO):
def metric_data_collection_to_prometheus(mdc: MetricDataCollection) -> str: def metric_data_collection_to_prometheus(mdc: MetricDataCollection) -> str:
""" """
Render the JSON in the form understandable by Prometheus Render the data in the form understandable by Prometheus
:param tree: JSON returned by the root metric (or any metric for that instance). :param tree: MetricDataCollection returned by the root metric (or any metric for that instance).
:return: a string output to present to Prometheus :return: a string output to present to Prometheus
""" """
if not mdc.values: if not mdc.values:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment