From 141f1cabd059770f31bb4776d4bf698f2939590f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 3 Aug 2024 10:09:15 +0000 Subject: [PATCH] Bumped version to 0.1.3.post4 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 --- conda/build | 2 +- zlogging/__init__.py | 2 +- zlogging/enum/__init__.py | 9 +++------ zlogging/enum/telemetry.py | 14 ++++---------- 4 files changed, 9 insertions(+), 18 deletions(-) diff --git a/conda/build b/conda/build index d8263ee..c227083 100644 --- a/conda/build +++ b/conda/build @@ -1 +1 @@ -2 \ No newline at end of file +0 \ No newline at end of file diff --git a/zlogging/__init__.py b/zlogging/__init__.py index 26aff20..bab5f13 100644 --- a/zlogging/__init__.py +++ b/zlogging/__init__.py @@ -32,4 +32,4 @@ ] # version string -__version__ = '0.1.3.post3' +__version__ = '0.1.3.post4' diff --git a/zlogging/enum/__init__.py b/zlogging/enum/__init__.py index aec4dda..fb5db84 100644 --- a/zlogging/enum/__init__.py +++ b/zlogging/enum/__init__.py @@ -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, diff --git a/zlogging/enum/telemetry.py b/zlogging/enum/telemetry.py index af7e0c7..6cb3861 100644 --- a/zlogging/enum/telemetry.py +++ b/zlogging/enum/telemetry.py @@ -10,21 +10,15 @@ class MetricType(enum.IntFlag): """Enum: ``Telemetry::MetricType``. See Also: - `base/bif/telemetry.bif.zeek `__ + `base/init-bare.zeek `__ """ _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()