Skip to content

Commit

Permalink
refactors for new graphing API
Browse files Browse the repository at this point in the history
  • Loading branch information
gurubert committed Aug 8, 2024
1 parent e493982 commit 3a81269
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
11 changes: 11 additions & 0 deletions unit_count_int/graphing/count.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python3

from cmk.graphing.v1 import Title
from cmk.graphing.v1.metrics import Metric, Unit, DecimalNotation, Color

metric_count = Metric(
name = "count",
title = Title("Count"),
unit = Unit(DecimalNotation("")),
color = Color.DARK_GRAY
)
Binary file removed unit_count_int/unit_count_int-0.1.0.mkp
Binary file not shown.
Binary file added unit_count_int/unit_count_int-0.2.1.mkp
Binary file not shown.
14 changes: 0 additions & 14 deletions unit_count_int/web/plugins/metrics/count.py

This file was deleted.

0 comments on commit 3a81269

Please sign in to comment.