Skip to content

Commit

Permalink
Bumped version to 0.1.3.post4
Browse files Browse the repository at this point in the history
Updated constant enumerations at Sat Aug  3 10:09:15 UTC 2024. The following files
have been changed: zlogging/enum/__init__.py zlogging/enum/telemetry.py
  • Loading branch information
github-actions[bot] committed Aug 3, 2024
1 parent 6f1a70d commit 141f1ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion conda/build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2
0
2 changes: 1 addition & 1 deletion zlogging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
]

# version string
__version__ = '0.1.3.post3'
__version__ = '0.1.3.post4'
9 changes: 3 additions & 6 deletions zlogging/enum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,12 +881,9 @@
}

builtins.globals()['ZLogging::Telemetry'] = {
'DOUBLE_COUNTER': Telemetry_MetricType.DOUBLE_COUNTER,
'DOUBLE_GAUGE': Telemetry_MetricType.DOUBLE_GAUGE,
'DOUBLE_HISTOGRAM': Telemetry_MetricType.DOUBLE_HISTOGRAM,
'INT_COUNTER': Telemetry_MetricType.INT_COUNTER,
'INT_GAUGE': Telemetry_MetricType.INT_GAUGE,
'INT_HISTOGRAM': Telemetry_MetricType.INT_HISTOGRAM,
'COUNTER': Telemetry_MetricType.COUNTER,
'GAUGE': Telemetry_MetricType.GAUGE,
'HISTOGRAM': Telemetry_MetricType.HISTOGRAM,
'MetricType': Telemetry_MetricType,
'Telemetry_LOG': Log_ID.Telemetry_LOG,
'Telemetry_LOG_HISTOGRAM': Log_ID.Telemetry_LOG_HISTOGRAM,
Expand Down
14 changes: 4 additions & 10 deletions zlogging/enum/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,15 @@ class MetricType(enum.IntFlag):
"""Enum: ``Telemetry::MetricType``.
See Also:
`base/bif/telemetry.bif.zeek <https://docs.zeek.org/en/stable/scripts/base/bif/telemetry.bif.zeek.html#type-Telemetry::MetricType>`__
`base/init-bare.zeek <https://docs.zeek.org/en/stable/scripts/base/init-bare.zeek.html#type-Telemetry::MetricType>`__
"""

_ignore_ = 'MetricType _'
MetricType = vars()

DOUBLE_COUNTER = enum.auto()
COUNTER = enum.auto()

INT_COUNTER = enum.auto()
GAUGE = enum.auto()

DOUBLE_GAUGE = enum.auto()

INT_GAUGE = enum.auto()

DOUBLE_HISTOGRAM = enum.auto()

INT_HISTOGRAM = enum.auto()
HISTOGRAM = enum.auto()

0 comments on commit 141f1ca

Please sign in to comment.