dt-extensions-sdk 1.1.14__py3-none-any.whl → 1.1.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dt_extensions_sdk-1.1.14.dist-info → dt_extensions_sdk-1.1.15.dist-info}/METADATA +2 -2
- dt_extensions_sdk-1.1.15.dist-info/RECORD +33 -0
- {dt_extensions_sdk-1.1.14.dist-info → dt_extensions_sdk-1.1.15.dist-info}/WHEEL +1 -1
- {dt_extensions_sdk-1.1.14.dist-info → dt_extensions_sdk-1.1.15.dist-info}/licenses/LICENSE.txt +9 -9
- dynatrace_extension/__about__.py +5 -5
- dynatrace_extension/__init__.py +27 -27
- dynatrace_extension/cli/__init__.py +5 -5
- dynatrace_extension/cli/create/__init__.py +1 -1
- dynatrace_extension/cli/create/create.py +76 -76
- dynatrace_extension/cli/create/extension_template/.gitignore.template +160 -160
- dynatrace_extension/cli/create/extension_template/README.md.template +33 -33
- dynatrace_extension/cli/create/extension_template/activation.json.template +15 -15
- dynatrace_extension/cli/create/extension_template/extension/activationSchema.json.template +118 -118
- dynatrace_extension/cli/create/extension_template/extension/extension.yaml.template +17 -17
- dynatrace_extension/cli/create/extension_template/extension_name/__main__.py.template +43 -43
- dynatrace_extension/cli/create/extension_template/setup.py.template +28 -12
- dynatrace_extension/cli/main.py +428 -428
- dynatrace_extension/cli/schema.py +129 -129
- dynatrace_extension/sdk/__init__.py +3 -3
- dynatrace_extension/sdk/activation.py +43 -43
- dynatrace_extension/sdk/callback.py +134 -134
- dynatrace_extension/sdk/communication.py +518 -469
- dynatrace_extension/sdk/event.py +19 -19
- dynatrace_extension/sdk/extension.py +1040 -1037
- dynatrace_extension/sdk/helper.py +191 -191
- dynatrace_extension/sdk/metric.py +118 -118
- dynatrace_extension/sdk/runtime.py +67 -67
- dynatrace_extension/sdk/vendor/mureq/LICENSE +13 -13
- dynatrace_extension/sdk/vendor/mureq/mureq.py +447 -447
- dt_extensions_sdk-1.1.14.dist-info/RECORD +0 -33
- {dt_extensions_sdk-1.1.14.dist-info → dt_extensions_sdk-1.1.15.dist-info}/entry_points.txt +0 -0
dynatrace_extension/sdk/event.py
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
# SPDX-FileCopyrightText: 2023-present Dynatrace LLC
|
2
|
-
#
|
3
|
-
# SPDX-License-Identifier: MIT
|
4
|
-
|
5
|
-
from enum import Enum
|
6
|
-
|
7
|
-
|
8
|
-
class Severity(Enum):
|
9
|
-
"""Severity of an event ingested through log ingest."""
|
10
|
-
|
11
|
-
EMERGENCY = "EMERGENCY"
|
12
|
-
ERROR = "ERROR"
|
13
|
-
ALERT = "ALERT"
|
14
|
-
CRITICAL = "CRITICAL"
|
15
|
-
SEVERE = "SEVERE"
|
16
|
-
WARN = "WARN"
|
17
|
-
NOTICE = "NOTICE"
|
18
|
-
INFO = "INFO"
|
19
|
-
DEBUG = "DEBUG"
|
1
|
+
# SPDX-FileCopyrightText: 2023-present Dynatrace LLC
|
2
|
+
#
|
3
|
+
# SPDX-License-Identifier: MIT
|
4
|
+
|
5
|
+
from enum import Enum
|
6
|
+
|
7
|
+
|
8
|
+
class Severity(Enum):
|
9
|
+
"""Severity of an event ingested through log ingest."""
|
10
|
+
|
11
|
+
EMERGENCY = "EMERGENCY"
|
12
|
+
ERROR = "ERROR"
|
13
|
+
ALERT = "ALERT"
|
14
|
+
CRITICAL = "CRITICAL"
|
15
|
+
SEVERE = "SEVERE"
|
16
|
+
WARN = "WARN"
|
17
|
+
NOTICE = "NOTICE"
|
18
|
+
INFO = "INFO"
|
19
|
+
DEBUG = "DEBUG"
|