dt-async 1.0.0__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_async-1.0.0.dist-info/METADATA +346 -0
- dt_async-1.0.0.dist-info/RECORD +60 -0
- dt_async-1.0.0.dist-info/WHEEL +4 -0
- dt_async-1.0.0.dist-info/licenses/LICENSE +191 -0
- dynatrace/__init__.py +4 -0
- dynatrace/auth.py +114 -0
- dynatrace/configuration_v1/__init__.py +0 -0
- dynatrace/configuration_v1/alerting_profiles.py +404 -0
- dynatrace/configuration_v1/anomaly_detection_process_groups.py +114 -0
- dynatrace/configuration_v1/api.py +13 -0
- dynatrace/configuration_v1/auto_tags.py +405 -0
- dynatrace/configuration_v1/credential_vault.py +106 -0
- dynatrace/configuration_v1/dashboard.py +141 -0
- dynatrace/configuration_v1/endpoint.py +29 -0
- dynatrace/configuration_v1/extensions.py +360 -0
- dynatrace/configuration_v1/geographic_regions.py +100 -0
- dynatrace/configuration_v1/maintenance_windows.py +350 -0
- dynatrace/configuration_v1/management_zones.py +194 -0
- dynatrace/configuration_v1/metric_events.py +323 -0
- dynatrace/configuration_v1/notifications.py +307 -0
- dynatrace/configuration_v1/oneagent_environment_wide_configuration.py +114 -0
- dynatrace/configuration_v1/oneagent_in_a_hostgroup.py +154 -0
- dynatrace/configuration_v1/oneagent_on_a_host.py +262 -0
- dynatrace/configuration_v1/plugins.py +101 -0
- dynatrace/configuration_v1/schemas.py +155 -0
- dynatrace/configuration_v1/tile.py +28 -0
- dynatrace/dynatrace_object.py +58 -0
- dynatrace/environment_v1/__init__.py +0 -0
- dynatrace/environment_v1/cluster_time.py +29 -0
- dynatrace/environment_v1/custom_device.py +250 -0
- dynatrace/environment_v1/deployment.py +432 -0
- dynatrace/environment_v1/event.py +140 -0
- dynatrace/environment_v1/oneagents.py +188 -0
- dynatrace/environment_v1/smartscape_hosts.py +146 -0
- dynatrace/environment_v1/synthetic_monitors.py +182 -0
- dynatrace/environment_v1/synthetic_third_party.py +374 -0
- dynatrace/environment_v1/timeseries.py +130 -0
- dynatrace/environment_v2/__init__.py +0 -0
- dynatrace/environment_v2/activegates.py +152 -0
- dynatrace/environment_v2/activegates_autoupdate_configuration.py +91 -0
- dynatrace/environment_v2/activegates_autoupdate_jobs.py +157 -0
- dynatrace/environment_v2/audit_logs.py +104 -0
- dynatrace/environment_v2/custom_tags.py +164 -0
- dynatrace/environment_v2/events.py +275 -0
- dynatrace/environment_v2/extensions.py +371 -0
- dynatrace/environment_v2/logs.py +102 -0
- dynatrace/environment_v2/metrics.py +224 -0
- dynatrace/environment_v2/monitored_entities.py +376 -0
- dynatrace/environment_v2/networkzones.py +121 -0
- dynatrace/environment_v2/problems.py +409 -0
- dynatrace/environment_v2/remote_configuration.py +425 -0
- dynatrace/environment_v2/schemas.py +56 -0
- dynatrace/environment_v2/service_level_objectives.py +315 -0
- dynatrace/environment_v2/settings.py +237 -0
- dynatrace/environment_v2/tokens_api.py +242 -0
- dynatrace/environment_v2/tokens_tenant.py +65 -0
- dynatrace/http_client.py +305 -0
- dynatrace/main.py +220 -0
- dynatrace/pagination.py +172 -0
- dynatrace/utils.py +76 -0
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dt-async
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Dynatrace async API Python client
|
|
5
|
+
License-File: LICENSE
|
|
6
|
+
Author: David Lopes
|
|
7
|
+
Author-email: davidribeirolopes@gmail.com
|
|
8
|
+
Maintainer: David Lopes
|
|
9
|
+
Maintainer-email: davidribeirolopes@gmail.com
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Operating System :: MacOS
|
|
16
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
17
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
18
|
+
Classifier: Programming Language :: Python
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
26
|
+
Classifier: Topic :: Software Development
|
|
27
|
+
Requires-Dist: authlib (>=1.6.9)
|
|
28
|
+
Requires-Dist: httpx (>=0.28.1)
|
|
29
|
+
Project-URL: Documentation, https://github.com/dynatrace-oss/api-client-python
|
|
30
|
+
Project-URL: Homepage, https://github.com/dynatrace-oss/api-client-python
|
|
31
|
+
Project-URL: Repository, https://github.com/dynatrace-oss/api-client-python
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# dt-async - Dynatrace Python API Client
|
|
35
|
+
|
|
36
|
+
**dt-async** is a Python client for the [Dynatrace Rest API].
|
|
37
|
+
It focuses on ease of use and nice type hints, perfect to explore the API and create quick scripts
|
|
38
|
+
|
|
39
|
+
[Dynatrace Rest API]: https://www.dynatrace.com/support/help/dynatrace-api
|
|
40
|
+
|
|
41
|
+
## Install
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
$ pip install dt-async
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Authentication
|
|
48
|
+
|
|
49
|
+
This library uses OAuth 2.0 client credentials flow for authentication.
|
|
50
|
+
|
|
51
|
+
When creating `DynatraceAsync(...)`, you must provide:
|
|
52
|
+
- `client_id`
|
|
53
|
+
- `client_secret`
|
|
54
|
+
- `account_uuid`
|
|
55
|
+
- `scope`
|
|
56
|
+
|
|
57
|
+
The `scope` value must include the permissions required by the APIs you want to call. For example, if you want to read entities and metrics, pass the corresponding OAuth scopes in the constructor, for example `scope="environment-api:entities:read environment-api:metrics:read"`.
|
|
58
|
+
|
|
59
|
+
## Simple Demo
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
import asyncio
|
|
63
|
+
from datetime import datetime, timedelta
|
|
64
|
+
|
|
65
|
+
from dynatrace import DynatraceAsync
|
|
66
|
+
from dynatrace import TOO_MANY_REQUESTS_WAIT
|
|
67
|
+
from dynatrace.configuration_v1.credential_vault import PublicCertificateCredentials
|
|
68
|
+
from dynatrace.environment_v2.settings import SettingsObjectCreate
|
|
69
|
+
from dynatrace.environment_v2.tokens_api import (
|
|
70
|
+
SCOPE_METRICS_INGEST,
|
|
71
|
+
SCOPE_METRICS_READ,
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
async def main():
|
|
75
|
+
# Create a Dynatrace client
|
|
76
|
+
async with DynatraceAsync(
|
|
77
|
+
client_id="oauth_client_id",
|
|
78
|
+
client_secret="oauth_client_secret",
|
|
79
|
+
account_uuid="your-account-uuid",
|
|
80
|
+
base_url="environment_url",
|
|
81
|
+
) as dt:
|
|
82
|
+
# Create a client that handles too many requests (429)
|
|
83
|
+
# dt = DynatraceAsync(
|
|
84
|
+
# client_id="oauth_client_id",
|
|
85
|
+
# client_secret="oauth_client_secret",
|
|
86
|
+
# account_uuid="your-account-uuid",
|
|
87
|
+
# base_url="environment_url",
|
|
88
|
+
# too_many_requests_strategy=TOO_MANY_REQUESTS_WAIT,
|
|
89
|
+
# )
|
|
90
|
+
|
|
91
|
+
# Create a client that automatically retries on errors, up to 5 times, with a 1 second delay between retries
|
|
92
|
+
# dt = DynatraceAsync(
|
|
93
|
+
# client_id="oauth_client_id",
|
|
94
|
+
# client_secret="oauth_client_secret",
|
|
95
|
+
# account_uuid="your-account-uuid",
|
|
96
|
+
# base_url="environment_url",
|
|
97
|
+
# retries=5,
|
|
98
|
+
# retry_delay_ms=1000,
|
|
99
|
+
# )
|
|
100
|
+
|
|
101
|
+
# Create a client with a custom HTTP timeout of 10 seconds
|
|
102
|
+
# dt = DynatraceAsync(
|
|
103
|
+
# client_id="oauth_client_id",
|
|
104
|
+
# client_secret="oauth_client_secret",
|
|
105
|
+
# account_uuid="your-account-uuid",
|
|
106
|
+
# base_url="environment_url",
|
|
107
|
+
# timeout=10,
|
|
108
|
+
# )
|
|
109
|
+
|
|
110
|
+
# Get all hosts and some properties
|
|
111
|
+
async for entity in await dt.entities.list(
|
|
112
|
+
'type("HOST")',
|
|
113
|
+
fields="properties.memoryTotal,properties.monitoringMode",
|
|
114
|
+
):
|
|
115
|
+
print(entity.entity_id, entity.display_name, entity.properties)
|
|
116
|
+
|
|
117
|
+
# Get idle CPU for all hosts
|
|
118
|
+
async for metric in await dt.metrics.query(
|
|
119
|
+
"builtin:host.cpu.idle",
|
|
120
|
+
resolution="Inf",
|
|
121
|
+
):
|
|
122
|
+
print(metric)
|
|
123
|
+
|
|
124
|
+
# Print dimensions, timestamp and values for the AWS Billing Metric
|
|
125
|
+
async for metric in await dt.metrics.query(
|
|
126
|
+
"ext:cloud.aws.billing.estimatedChargesByRegionCurrency"
|
|
127
|
+
):
|
|
128
|
+
for data in metric.data:
|
|
129
|
+
for timestamp, value in zip(data.timestamps, data.values):
|
|
130
|
+
print(data.dimensions, timestamp, value)
|
|
131
|
+
|
|
132
|
+
# Get all ActiveGates
|
|
133
|
+
async for ag in await dt.activegates.list():
|
|
134
|
+
print(ag)
|
|
135
|
+
|
|
136
|
+
# Get metric descriptions for all host metrics
|
|
137
|
+
async for metric in await dt.metrics.list("builtin:host.*"):
|
|
138
|
+
print(metric)
|
|
139
|
+
|
|
140
|
+
# Delete endpoints that contain the word test
|
|
141
|
+
async for plugin in await dt.plugins.list():
|
|
142
|
+
# This could also be dt.get_endpoints(plugin.id)
|
|
143
|
+
async for endpoint in plugin.endpoints:
|
|
144
|
+
if "test" in endpoint.name:
|
|
145
|
+
await endpoint.delete(plugin.id)
|
|
146
|
+
|
|
147
|
+
# Prints dashboard ID, owner and number of tiles
|
|
148
|
+
async for dashboard in await dt.dashboards.list():
|
|
149
|
+
full_dashboard = await dashboard.get_full_dashboard()
|
|
150
|
+
print(full_dashboard.id, dashboard.owner, len(full_dashboard.tiles))
|
|
151
|
+
|
|
152
|
+
# Delete API Tokens that haven't been used for more than 3 months
|
|
153
|
+
async for token in await dt.tokens.list(fields="+lastUsedDate,+scopes"):
|
|
154
|
+
if token.last_used_date and token.last_used_date < datetime.now() - timedelta(
|
|
155
|
+
days=90
|
|
156
|
+
):
|
|
157
|
+
print(
|
|
158
|
+
f"Deleting token! {token}, last used date: {token.last_used_date}"
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
# Create an API Token that can read and ingest metrics
|
|
162
|
+
new_token = await dt.tokens.create(
|
|
163
|
+
"metrics_token",
|
|
164
|
+
scopes=[SCOPE_METRICS_READ, SCOPE_METRICS_INGEST],
|
|
165
|
+
)
|
|
166
|
+
print(new_token.token)
|
|
167
|
+
|
|
168
|
+
# Upload a public PEM certificate to the Credential Vault
|
|
169
|
+
with open("ca.pem", "r") as f:
|
|
170
|
+
ca_cert = f.read()
|
|
171
|
+
|
|
172
|
+
my_cred = PublicCertificateCredentials(
|
|
173
|
+
name="my_cred",
|
|
174
|
+
description="my_cred description",
|
|
175
|
+
scope="EXTENSION",
|
|
176
|
+
owner_access_only=False,
|
|
177
|
+
certificate=ca_cert,
|
|
178
|
+
password="",
|
|
179
|
+
credential_type="PUBLIC_CERTIFICATE",
|
|
180
|
+
certificate_format="PEM",
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
credential = await dt.credentials.post(my_cred)
|
|
184
|
+
print(credential.id)
|
|
185
|
+
|
|
186
|
+
# Create a new settings 2.0 object
|
|
187
|
+
settings_value = {
|
|
188
|
+
"enabled": True,
|
|
189
|
+
"summary": "DT API TEST 1",
|
|
190
|
+
"queryDefinition": {
|
|
191
|
+
"type": "METRIC_KEY",
|
|
192
|
+
"metricKey": "netapp.ontap.node.fru.state",
|
|
193
|
+
"aggregation": "AVG",
|
|
194
|
+
"entityFilter": {
|
|
195
|
+
"dimensionKey": "dt.entity.netapp_ontap:fru",
|
|
196
|
+
"conditions": [],
|
|
197
|
+
},
|
|
198
|
+
"dimensionFilter": [],
|
|
199
|
+
},
|
|
200
|
+
"modelProperties": {
|
|
201
|
+
"type": "STATIC_THRESHOLD",
|
|
202
|
+
"threshold": 100.0,
|
|
203
|
+
"alertOnNoData": False,
|
|
204
|
+
"alertCondition": "BELOW",
|
|
205
|
+
"violatingSamples": 3,
|
|
206
|
+
"samples": 5,
|
|
207
|
+
"dealertingSamples": 5,
|
|
208
|
+
},
|
|
209
|
+
"eventTemplate": {
|
|
210
|
+
"title": "OnTap {dims:type} {dims:fru_id} is in Error State",
|
|
211
|
+
"description": "OnTap field replaceable unit (FRU) {dims:type} with id {dims:fru_id} on node {dims:node} in cluster {dims:cluster} is in an error state.\n",
|
|
212
|
+
"eventType": "RESOURCE",
|
|
213
|
+
"davisMerge": True,
|
|
214
|
+
"metadata": [],
|
|
215
|
+
},
|
|
216
|
+
"eventEntityDimensionKey": "dt.entity.netapp_ontap:fru",
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
settings_object = SettingsObjectCreate(
|
|
220
|
+
schema_id="builtin:anomaly-detection.metric-events",
|
|
221
|
+
value=settings_value,
|
|
222
|
+
scope="environment",
|
|
223
|
+
)
|
|
224
|
+
await dt.settings.create_object(validate_only=False, body=settings_object)
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
asyncio.run(main())
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
## Implementation Progress
|
|
231
|
+
|
|
232
|
+
### Environment API V2
|
|
233
|
+
|
|
234
|
+
API | Level | Access |
|
|
235
|
+
:----------------------------------------|:------------------:|:------------------------------------------|
|
|
236
|
+
Access Tokens - API tokens | :heavy_check_mark: | `dt.tokens` |
|
|
237
|
+
Access tokens - Tenant tokens | :heavy_check_mark: | `dt.tenant_tokens` |
|
|
238
|
+
ActiveGates | :heavy_check_mark: | `dt.activegates` |
|
|
239
|
+
ActiveGates - Auto-update configuration | :heavy_check_mark: | `dt.activegates_autoupdate_configuration` |
|
|
240
|
+
ActiveGates - Auto-update jobs | :heavy_check_mark: | `dt.activegates_autoupdate_jobs` |
|
|
241
|
+
ActiveGates - Remote configuration | :heavy_check_mark: | `dt.activegates_remote_configuration` |
|
|
242
|
+
Audit Logs | :heavy_check_mark: | `dt.audit_logs` |
|
|
243
|
+
Events | :warning: | `dt.events_v2` |
|
|
244
|
+
Extensions 2.0 | :heavy_check_mark: | `dt.extensions_v2` |
|
|
245
|
+
Logs | :warning: | `dt.logs` |
|
|
246
|
+
Metrics | :heavy_check_mark: | `dt.metrics` |
|
|
247
|
+
Monitored entities | :warning: | `dt.entities` |
|
|
248
|
+
Monitored entities - Custom tags | :heavy_check_mark: | `dt.custom_tags` |
|
|
249
|
+
Network zones | :warning: | `dt.network_zones` |
|
|
250
|
+
OneAgents - Remote configuration | :heavy_check_mark: | `dt.oneagents_remote_configuration` |
|
|
251
|
+
Problems | :heavy_check_mark: | `dt.problems` |
|
|
252
|
+
Security problems | :x: | |
|
|
253
|
+
Service-level objectives | :heavy_check_mark: | `dt.slos` |
|
|
254
|
+
Settings | :warning: | `dt.settings` |
|
|
255
|
+
|
|
256
|
+
### Environment API V1
|
|
257
|
+
|
|
258
|
+
API | Level | Access |
|
|
259
|
+
:--------------------------------------|:------------------:|:--------------------------------|
|
|
260
|
+
Anonymization | :x: | |
|
|
261
|
+
Cluster time | :heavy_check_mark: | `dt.cluster_time` |
|
|
262
|
+
Cluster version | :x: | |
|
|
263
|
+
Custom devices | :heavy_check_mark: | `dt.custom_devices` |
|
|
264
|
+
Deployment | :heavy_check_mark: | `dt.deployment` |
|
|
265
|
+
Events | :warning: | `dt.events` |
|
|
266
|
+
JavaScript tag management | :x: | |
|
|
267
|
+
Log monitoring - Custom devices | :x: | |
|
|
268
|
+
Log monitoring - Hosts | :x: | |
|
|
269
|
+
Log monitoring - Process groups | :x: | |
|
|
270
|
+
Maintenance window | :x: | |
|
|
271
|
+
OneAgent on a host | :warning: | `dt.oneagents` |
|
|
272
|
+
Problem | :x: | |
|
|
273
|
+
Synthetic - Locations and nodes | :x: | |
|
|
274
|
+
Synthetic - Monitors | :warning: | `dt.synthetic_monitors` |
|
|
275
|
+
Synthetic - Third party | :heavy_check_mark: | `dt.third_part_synthetic_tests` |
|
|
276
|
+
Threshold | :x: | |
|
|
277
|
+
Timeseries | :warning: | `dt.timeseries` |
|
|
278
|
+
Tokens | :x: | |
|
|
279
|
+
Topology & Smartscape - Application | :x: | |
|
|
280
|
+
Topology & Smartscape - Custom device | :warning: | `dt.custom_devices` |
|
|
281
|
+
Topology & Smartscape - Host | :warning: | `dt.smartscape_hosts` |
|
|
282
|
+
Topology & Smartscape - Process | :x: | |
|
|
283
|
+
Topology & Smartscape - Process group | :x: | |
|
|
284
|
+
Topology & Smartscape - Service | :x: | |
|
|
285
|
+
User sessions | :x: | |
|
|
286
|
+
|
|
287
|
+
### Configuration API V1
|
|
288
|
+
|
|
289
|
+
API | Level | Access |
|
|
290
|
+
:----------------------------------------------------|:------------------:|:--------------------------------------|
|
|
291
|
+
Alerting Profiles | :warning: | `dt.alerting_profiles` |
|
|
292
|
+
Anomaly detection - Applications | :x: | |
|
|
293
|
+
Anomaly detection - AWS | :x: | |
|
|
294
|
+
Anomaly detection - Database services | :x: | |
|
|
295
|
+
Anomaly detection - Disk events | :x: | |
|
|
296
|
+
Anomaly detection - Hosts | :x: | |
|
|
297
|
+
Anomaly detection - Metric events | :warning: | `dt.anomaly_detection_metric_events` |
|
|
298
|
+
Anomaly detection - Process groups | :warning: | `dt.anomaly_detection_process_groups` |
|
|
299
|
+
Anomaly detection - Services | :x: | |
|
|
300
|
+
Anomaly detection - VMware | :x: | |
|
|
301
|
+
Automatically applied tags | :warning: | `dt.auto_tags` |
|
|
302
|
+
AWS credentials configuration | :x: | |
|
|
303
|
+
AWS PrivateLink | :x: | |
|
|
304
|
+
Azure credentials configuration | :x: | |
|
|
305
|
+
Calculated metrics - Log monitoring | :x: | |
|
|
306
|
+
Calculated metrics - Mobile & custom applications | :x: | |
|
|
307
|
+
Calculated metrics - Services | :x: | |
|
|
308
|
+
Calculated metrics - Synthetic | :x: | |
|
|
309
|
+
Calculated metrics - Web applications | :x: | |
|
|
310
|
+
Cloud Foundry credentials configuration | :x: | |
|
|
311
|
+
Conditional naming | :x: | |
|
|
312
|
+
Credential vault | :x: | |
|
|
313
|
+
Custom tags | :heavy_check_mark: | `dt.custom_tags` |
|
|
314
|
+
Dashboards | :warning: | `dt.dashboards` |
|
|
315
|
+
Data privacy and security | :x: | |
|
|
316
|
+
Extensions | :heavy_check_mark: | `dt.extensions` |
|
|
317
|
+
Frequent issue detection | :x: | |
|
|
318
|
+
Kubernetes credentials configuration | :x: | |
|
|
319
|
+
Maintenance windows | :warning: | `dt.maintenance_windows` |
|
|
320
|
+
Management zones | :warning: | `dt.management_zones` |
|
|
321
|
+
Notifications | :warning: | `dt.notifications` |
|
|
322
|
+
OneAgent - Environment-wide configuration | :heavy_check_mark: | `dt.oneagents_config_environment` |
|
|
323
|
+
OneAgent in a host group | :heavy_check_mark: | `dt.oneagents_config_hostgroup` |
|
|
324
|
+
OneAgent on a host | :heavy_check_mark: | `dt.oneagents_config_host` |
|
|
325
|
+
Plugins | :warning: | `dt.plugins` |
|
|
326
|
+
Remote environments | :x: | |
|
|
327
|
+
Reports | :x: | |
|
|
328
|
+
RUM - Allowed beacon origins for CORS | :x: | |
|
|
329
|
+
RUM - Application detection rules | :x: | |
|
|
330
|
+
RUM - Application detection rules - Host detection | :x: | |
|
|
331
|
+
RUM - Content resources | :x: | |
|
|
332
|
+
RUM - Geographic regions - custom client IP headers | :x: | |
|
|
333
|
+
RUM - Geographic regions - IP address mapping | :x: | |
|
|
334
|
+
RUM - Mobile and custom application configuration | :x: | |
|
|
335
|
+
RUM - Web application configuration | :x: | |
|
|
336
|
+
Service - Custom services | :x: | |
|
|
337
|
+
Service - Detection full web request | :x: | |
|
|
338
|
+
Service - Detection full web service | :x: | |
|
|
339
|
+
Service - Detection opaque and external web request | :x: | |
|
|
340
|
+
Service - Detection opaque and external web service | :x: | |
|
|
341
|
+
Service - Failure detection parameter sets | :x: | |
|
|
342
|
+
Service - Failure detection rules | :x: | |
|
|
343
|
+
Service - IBM MQ tracing | :x: | |
|
|
344
|
+
Service - Request attributes | :x: | |
|
|
345
|
+
Service - Request naming | :x: | |
|
|
346
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
dynatrace/__init__.py,sha256=kXc7aKb2ouNNl6QYi9OVYZ52szpKgJU5iqZRO2u8BcE,155
|
|
2
|
+
dynatrace/auth.py,sha256=3wVekus3sxbjQ19OuUbsrZMfeA9COKM3t1MbyL1LgA0,3524
|
|
3
|
+
dynatrace/configuration_v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
dynatrace/configuration_v1/alerting_profiles.py,sha256=Gozz3KnMn1avOk0Aq9C-0S_H4d1_2s8DqNdCsKL0lP0,16839
|
|
5
|
+
dynatrace/configuration_v1/anomaly_detection_process_groups.py,sha256=7jLovSskRY6P4Bo4aCBSxrgmvi16XzHrvCX3Yxm6FoI,4017
|
|
6
|
+
dynatrace/configuration_v1/api.py,sha256=KrqSShMi_KzlQYFSU5r30Yad-AKRCQTUS62epreFu6w,379
|
|
7
|
+
dynatrace/configuration_v1/auto_tags.py,sha256=4tWXwfPQJg9ipJNM1XiMOb6fEADbS28rgLe4JoKItRA,18849
|
|
8
|
+
dynatrace/configuration_v1/credential_vault.py,sha256=jqZh9XjHGFezMvmIlhNex989nsMdUJAhIcCka6K8JEM,3559
|
|
9
|
+
dynatrace/configuration_v1/dashboard.py,sha256=5FSIhbqnH3VzF_98i5ey1O5083ztgaFjYvMWr4eg0W4,4985
|
|
10
|
+
dynatrace/configuration_v1/endpoint.py,sha256=8UVN1ylW3aP95HaWZ3rrCfXCmKl9E5RaFqXHPaJj3Aw,997
|
|
11
|
+
dynatrace/configuration_v1/extensions.py,sha256=ReiIVkMRaEJ-ZUVSZS5epFkjv4IDHIS-s-YNIEBeI8E,13071
|
|
12
|
+
dynatrace/configuration_v1/geographic_regions.py,sha256=sHKAWNfL8OzEwLFtxf3M91OIcFAnIA7FUT7c9gk38Qg,3426
|
|
13
|
+
dynatrace/configuration_v1/maintenance_windows.py,sha256=zLV6JPQjg0EnSR7uQypt3tioHCT_oysj5HnnV78ZQBI,12462
|
|
14
|
+
dynatrace/configuration_v1/management_zones.py,sha256=73JtH1obM8tH6ygTt8IRd0w80dokv-nlqU2yUALb_kg,7425
|
|
15
|
+
dynatrace/configuration_v1/metric_events.py,sha256=UZkbyd94gbsYeUIRbwixi4lglEElhx5TAXXQysRiUGY,11697
|
|
16
|
+
dynatrace/configuration_v1/notifications.py,sha256=zhdPNaamYGrFX7-r7bO39jJb6b58YJl7oezTL_1T_m0,13591
|
|
17
|
+
dynatrace/configuration_v1/oneagent_environment_wide_configuration.py,sha256=Icw2r715VArP_f11m-J5i8HnOzFki4KyMk9sV2tmjyg,4091
|
|
18
|
+
dynatrace/configuration_v1/oneagent_in_a_hostgroup.py,sha256=N8V18KVCxx59DmlyNe1JQwjG4fx1lWbAIPfBHZdedDc,5702
|
|
19
|
+
dynatrace/configuration_v1/oneagent_on_a_host.py,sha256=UOrPACRcoxfwgYyqSQpA0U9dEZy7G8K-x8IpPks39GQ,9509
|
|
20
|
+
dynatrace/configuration_v1/plugins.py,sha256=5Oe9q2OBMaqtAOM7-twGI-uUV301BYiEQpsH4F1s3uA,3465
|
|
21
|
+
dynatrace/configuration_v1/schemas.py,sha256=iSZywVlIA7oh2GIt9M5IjaDIOCWZoC_Yndn1u0Kpujk,4243
|
|
22
|
+
dynatrace/configuration_v1/tile.py,sha256=BEqBhF_dnXdLoacYKW3QVEhnhJ0wr14YCUcRtB24kSw,1091
|
|
23
|
+
dynatrace/dynatrace_object.py,sha256=tp4ARQ4_NVw9EGfpvHefKFKo3B79l8kWtRXzCrLzhtk,1664
|
|
24
|
+
dynatrace/environment_v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
+
dynatrace/environment_v1/cluster_time.py,sha256=uuie4y-EnUVroM5T8a2f6NsSE9rVNX6qWzN6D_8VR-g,935
|
|
26
|
+
dynatrace/environment_v1/custom_device.py,sha256=hHINVYNay1jByzYH0skf5C1apCrkjGhL9K8qIG-9aV4,8535
|
|
27
|
+
dynatrace/environment_v1/deployment.py,sha256=5-t0DhPBn7wpLEXQB9aB_QgRL5yJLUN9FwWjFoZEq6U,20793
|
|
28
|
+
dynatrace/environment_v1/event.py,sha256=x2_8R2n8sZIdipdx3QKt1goUIjSdum-VqLBUlNqYWfs,4609
|
|
29
|
+
dynatrace/environment_v1/oneagents.py,sha256=glCmbk1C8t2Sv5uIRw2lHFNMjKegB6imyjwskdznigY,6873
|
|
30
|
+
dynatrace/environment_v1/smartscape_hosts.py,sha256=Bgyt-E4Ss2ydhBxYhfVC6nTFHu1Lp-0one44bvqSxhQ,5420
|
|
31
|
+
dynatrace/environment_v1/synthetic_monitors.py,sha256=y8KGyC4B6jm9BXb--IXYJjgAYhUCoyJnCA90kHhJVcw,6545
|
|
32
|
+
dynatrace/environment_v1/synthetic_third_party.py,sha256=q8XI_dspqhEe1PeNXL7kXJFE75cqzUMr1Tb8WdyWhkU,12303
|
|
33
|
+
dynatrace/environment_v1/timeseries.py,sha256=QYyTMsTT1lm5BDfm8otxK_8Qn06MCxAxJ5R-aH6_Nq8,4056
|
|
34
|
+
dynatrace/environment_v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
+
dynatrace/environment_v2/activegates.py,sha256=c7MVcyz2T-3AO1TN-DCL8p1SYMQN2Qqrb1L5AJ9qsw8,5149
|
|
36
|
+
dynatrace/environment_v2/activegates_autoupdate_configuration.py,sha256=jLJsu3I17pSycCZRCya0R_Yd18_KTsgFdZ0aofKEjsg,3354
|
|
37
|
+
dynatrace/environment_v2/activegates_autoupdate_jobs.py,sha256=mJcgLtgRO4vmhKnEv9DRIYdeCcE_tNZtcyoCw3qDGxk,5995
|
|
38
|
+
dynatrace/environment_v2/audit_logs.py,sha256=P7x0HeQmuKQWIq0NcEXrGvAVaT7Q6kKfkj1iszYOS6M,3500
|
|
39
|
+
dynatrace/environment_v2/custom_tags.py,sha256=CwqjCmHdFlUAD8-9apf6d4xQo_5jwv07sGQuHU5EgKg,5465
|
|
40
|
+
dynatrace/environment_v2/events.py,sha256=K8TUMJdQIZqJBdJZvBn0UQdyBLJxSG2JRgawZgploBA,10727
|
|
41
|
+
dynatrace/environment_v2/extensions.py,sha256=rme-W3QDhN7ueDPTKJ62wA6X1cBooKgA7Y64QR14ySY,14279
|
|
42
|
+
dynatrace/environment_v2/logs.py,sha256=QmRjvY2yLuvtB-r_tpN-l3Vd64n5U6xhTDny_Ow5FGQ,3420
|
|
43
|
+
dynatrace/environment_v2/metrics.py,sha256=2xUT_lAjqz4Cs58CA2Jkb4pUQs6zP-Do8dxo96uIblY,7810
|
|
44
|
+
dynatrace/environment_v2/monitored_entities.py,sha256=AxvtJwU0P2CqE-iu6c_vPP-qxrx8TClnHNcmdzjJb7w,15548
|
|
45
|
+
dynatrace/environment_v2/networkzones.py,sha256=Wq8GGXeSit_9IeJiiy3ViQ82dTfxv0kCAh__0AJ2oyY,4494
|
|
46
|
+
dynatrace/environment_v2/problems.py,sha256=Os_Vhd_toWTQnET5ZBB7nLwl_HWXanPv9GHyWGazq_s,15647
|
|
47
|
+
dynatrace/environment_v2/remote_configuration.py,sha256=i4ggZ3GAkDCos1rONcNB59c8zmDkiJq9-xZnk4JtRPA,16219
|
|
48
|
+
dynatrace/environment_v2/schemas.py,sha256=tz50eku_FjDn4TtTE01jhbajl8-gJo2w4uPwSlCzsMU,1696
|
|
49
|
+
dynatrace/environment_v2/service_level_objectives.py,sha256=QiKhjmyIxC9LkWU7vnWjwcMqzPpm1QzEp8g1Jf-StBw,13387
|
|
50
|
+
dynatrace/environment_v2/settings.py,sha256=AHLd1g8yQBf0hqAYnb1MZtp0SroXRZeTFoWpValrUIM,8287
|
|
51
|
+
dynatrace/environment_v2/tokens_api.py,sha256=HJPbT5_fumIVmRuRj6sDUQHlTtwwWvf1ptKilRSSNnk,9487
|
|
52
|
+
dynatrace/environment_v2/tokens_tenant.py,sha256=4M0lo_tXiMxgQaDkbxPGFjpBE2F4jyfWzIyWiAP-hDs,2161
|
|
53
|
+
dynatrace/http_client.py,sha256=MNmtDNdSI-YmB8uXjBwCV9EwzIcTllFnU0x6mlOUlSk,10051
|
|
54
|
+
dynatrace/main.py,sha256=ZXRaKzCgAmjYpgt_W5jfMaFizBOpqAZJ2qCrnYWeCEQ,9915
|
|
55
|
+
dynatrace/pagination.py,sha256=HbBJfumNkG60YTiej9VwOJfrAZaSG6dVKRiafu3gSFA,5627
|
|
56
|
+
dynatrace/utils.py,sha256=ZriZjokTV-Y8xG1PFAR0Md8gJIm-gdQ8fV6NRVq1H98,2277
|
|
57
|
+
dt_async-1.0.0.dist-info/METADATA,sha256=pejkB7Z5uI-pRa8FYAHsBpacAXSHsHzO_UAfUU5Sm6M,20202
|
|
58
|
+
dt_async-1.0.0.dist-info/WHEEL,sha256=Vz2fHgx6HFtSwhs8KvkHLqH5Ea4w1_rner5uNVGCeIE,88
|
|
59
|
+
dt_async-1.0.0.dist-info/licenses/LICENSE,sha256=fIeHMpHyiXE6xd9IsfIBDraWN1K71rUwQWq5n8N5FKg,10765
|
|
60
|
+
dt_async-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
https://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2013-2018 Docker, Inc.
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
dynatrace/__init__.py
ADDED