python-observabilityclient 1.0.0__py3-none-any.whl → 1.2.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.
@@ -70,8 +70,7 @@ class PrometheusAPIClient(object):
70
70
  self._session.verify = ca_cert
71
71
 
72
72
  def set_client_cert(self, client_cert, client_key):
73
- self._session.cert = client_cert
74
- self._session.key = client_key
73
+ self._session.cert = (client_cert, client_key)
75
74
 
76
75
  def set_basic_auth(self, auth_user, auth_password):
77
76
  self._session.auth = (auth_user, auth_password)
@@ -18,10 +18,24 @@ from observabilityclient.utils.metric_utils import format_labels
18
18
 
19
19
 
20
20
  class PromQLRbac(object):
21
- def __init__(self, prom_api_client, project_id):
21
+ def __init__(self, prom_api_client, project_id, project_label='project'):
22
22
  self.client = prom_api_client
23
+
24
+ # NOTE(jwysogla): Since Prometheus 3, metric and label names can
25
+ # utilize all unicode characters. But the syntax is a little different
26
+ # and some parts of the queries need to be quoted or escaped. The
27
+ # rest of this module doesn't support that right now, so use a
28
+ # Prometheus 2 regex and raise an exception when it doesn't match.
29
+ # See https://prometheus.io/docs/concepts/data_model/
30
+ label_name_regex = "[a-zA-Z_][a-zA-Z0-9_]*"
31
+ if not re.fullmatch(label_name_regex, project_label):
32
+ raise ValueError(
33
+ f"Project label {project_label} doesn't match the "
34
+ f"label name regex: {label_name_regex}"
35
+ )
36
+
23
37
  self.labels = {
24
- "project": project_id
38
+ project_label: project_id
25
39
  }
26
40
 
27
41
  def _find_label_value_end(self, query, start, quote_char):
@@ -83,14 +97,27 @@ class PromQLRbac(object):
83
97
  f"{labels_str}"
84
98
  f"{query[location:]}")
85
99
 
86
- def modify_query(self, query):
100
+ def modify_query(self, query, metric_names=None):
87
101
  """Add rbac labels to a query.
88
102
 
89
103
  :param query: The query to modify
90
104
  :type query: str
105
+
106
+ :param metric_names: List of metric names currently stored in
107
+ prometheus. For correct function of the query
108
+ modification, it's important for the list to be
109
+ accurate and to include all metrics across all
110
+ tenants. This parameter can be unspecified or
111
+ None, in which case the list will be retrieved
112
+ from Prometheus by sending an API request to it.
113
+ It's advised to provide the metric list when
114
+ doing a query modification in a loop for
115
+ performance purposes.
116
+ :type metric_names: list
91
117
  """
92
- # We need to get all metric names, no matter the rbac
93
- metric_names = self.client.label_values("__name__")
118
+
119
+ if metric_names is None:
120
+ metric_names = self.client.label_values("__name__")
94
121
 
95
122
  # We need to detect the locations of metric names
96
123
  # inside the query
@@ -111,7 +138,7 @@ class PromQLRbac(object):
111
138
  name_end_locations = [0]
112
139
  for name_end_location in name_end_locations:
113
140
  if (name_end_location < len(query) and
114
- query[name_end_location] == "{"):
141
+ query[name_end_location] == "{"):
115
142
  # There is already a label section
116
143
  labels_end = self._find_label_section_end(
117
144
  query,
@@ -22,7 +22,7 @@ from observabilityclient import client
22
22
 
23
23
  from keystoneauth1 import loading
24
24
  from keystoneauth1 import session
25
- import os_client_config
25
+ from openstack import config as occ
26
26
  from tempest.lib.cli import output_parser
27
27
  from tempest.lib import exceptions
28
28
  import testtools
@@ -33,8 +33,8 @@ LOG = logging.getLogger(__name__)
33
33
 
34
34
  class PythonAPITestCase(testtools.TestCase):
35
35
  def _getKeystoneSession(self):
36
- conf = os_client_config.OpenStackConfig()
37
- creds = conf.get_one_cloud(cloud=ADMIN_CLOUD).get_auth_args()
36
+ conf = occ.OpenStackConfig()
37
+ creds = conf.get_one(cloud=ADMIN_CLOUD).get_auth_args()
38
38
  ks_creds = dict(
39
39
  auth_url=creds["auth_url"],
40
40
  username=creds["username"],
@@ -27,15 +27,17 @@ class PromQLRbacTest(testtools.TestCase):
27
27
  self.rbac.labels = {
28
28
  "project": "project123"
29
29
  }
30
- self.rbac.client.label_values = lambda label: [
31
- 'test_query',
32
- 'cpu_temp_celsius',
33
- 'http_requests',
34
- 'test:query:with:colon:',
35
- 'test_query_with_digit1',
36
- 'method_code:http_errors:rate5m',
37
- 'method:http_requests:rate5m'
38
- ]
30
+ self.rbac.client.label_values = mock.MagicMock(
31
+ return_value=[
32
+ 'test_query',
33
+ 'cpu_temp_celsius',
34
+ 'http_requests',
35
+ 'test:query:with:colon:',
36
+ 'test_query_with_digit1',
37
+ 'method_code:http_errors:rate5m',
38
+ 'method:http_requests:rate5m'
39
+ ]
40
+ )
39
41
  self.test_cases = [
40
42
  (
41
43
  "test_query",
@@ -167,6 +169,12 @@ class PromQLRbacTest(testtools.TestCase):
167
169
  f"{{project='{self.project_id}'}}"
168
170
  f"[10m])))"
169
171
  )
172
+ ), (
173
+ "test_query{project='some_id'}",
174
+
175
+ (f"test_query{{project='some_id', "
176
+ f"project='{self.project_id}'}}"
177
+ )
170
178
  )
171
179
  ]
172
180
 
@@ -186,3 +194,64 @@ class PromQLRbacTest(testtools.TestCase):
186
194
  expected = f"{query}{{project='{self.project_id}'}}"
187
195
  ret = self.rbac.append_rbac_labels(query)
188
196
  self.assertEqual(expected, ret)
197
+
198
+ def test_setting_different_project_label_name(self):
199
+ query = 'test_query'
200
+ project_label = 'different_name'
201
+ project_value = 'some_project'
202
+
203
+ rbac_instance = rbac.PromQLRbac(
204
+ mock.Mock(), project_value, project_label=project_label
205
+ )
206
+ rbac_instance.client.label_values = lambda label: [
207
+ query,
208
+ ]
209
+
210
+ expected = f"{query}{{{project_label}='{project_value}'}}"
211
+
212
+ ret = rbac_instance.modify_query(query)
213
+
214
+ self.assertEqual(expected, ret)
215
+
216
+ def test_setting_illegal_project_label_name(self):
217
+ # Try setting a label name with a white space character inside
218
+ project_label = 'different name'
219
+ project_value = 'some_project'
220
+
221
+ args = (mock.Mock(), project_value)
222
+ kwargs = {'project_label': project_label}
223
+
224
+ self.assertRaises(ValueError, rbac.PromQLRbac, *args, **kwargs)
225
+
226
+ # Try setting an empty label name
227
+ project_label = ''
228
+
229
+ kwargs = {'project_label': project_label}
230
+
231
+ self.assertRaises(ValueError, rbac.PromQLRbac, *args, **kwargs)
232
+
233
+ def test_specifying_metric_names(self):
234
+ query = "test_query"
235
+ metric_names = [
236
+ "metric_name1",
237
+ "foo",
238
+ "bar",
239
+ "test_query"
240
+ ]
241
+
242
+ expected = "test_query{project='project123'}"
243
+
244
+ ret = self.rbac.modify_query(query, metric_names)
245
+
246
+ self.assertEqual(expected, ret)
247
+ self.rbac.client.label_values.assert_not_called()
248
+
249
+ def test_not_specifying_metric_names(self):
250
+ query = "test_query"
251
+
252
+ expected = "test_query{project='project123'}"
253
+
254
+ ret = self.rbac.modify_query(query)
255
+
256
+ self.assertEqual(expected, ret)
257
+ self.rbac.client.label_values.assert_called_once()
@@ -102,13 +102,13 @@ class GetPrometheusClientTest(testtools.TestCase):
102
102
  metric_utils.get_prometheus_client)
103
103
 
104
104
  def test_get_prometheus_client_from_keystone_http(self):
105
- prometheus_endpoint = "http://localhost:1234/prometheus"
105
+ prom_endpoint = "http://localhost:1234/prometheus"
106
106
  keystone_session = session.Session()
107
107
  with mock.patch.dict(os.environ, {}), \
108
108
  mock.patch.object(metric_utils, 'get_config_file',
109
109
  return_value=None), \
110
110
  mock.patch.object(adapter.Adapter, 'get_endpoint',
111
- return_value=prometheus_endpoint), \
111
+ return_value=prom_endpoint), \
112
112
  mock.patch.object(prometheus_client.PrometheusAPIClient,
113
113
  "__init__", return_value=None) as init_m, \
114
114
  mock.patch.object(prometheus_client.PrometheusAPIClient,
@@ -120,13 +120,13 @@ class GetPrometheusClientTest(testtools.TestCase):
120
120
  ca_m.assert_not_called()
121
121
 
122
122
  def test_get_prometheus_client_from_keystone_https(self):
123
- prometheus_endpoint = "https://localhost:1234/prometheus"
123
+ prom_endpoint = "https://localhost:1234/prometheus"
124
124
  keystone_session = session.Session()
125
125
  with mock.patch.dict(os.environ, {}), \
126
126
  mock.patch.object(metric_utils, 'get_config_file',
127
127
  return_value=None), \
128
128
  mock.patch.object(adapter.Adapter, 'get_endpoint',
129
- return_value=prometheus_endpoint), \
129
+ return_value=prom_endpoint), \
130
130
  mock.patch.object(prometheus_client.PrometheusAPIClient,
131
131
  "__init__", return_value=None) as init_m, \
132
132
  mock.patch.object(prometheus_client.PrometheusAPIClient,
@@ -137,25 +137,50 @@ class GetPrometheusClientTest(testtools.TestCase):
137
137
  )
138
138
  ca_m.assert_called_with(True)
139
139
 
140
- def test_get_prometheus_client_from_keystone_custom_ca(self):
141
- prometheus_endpoint = "https://localhost:1234/prometheus"
142
- keystone_session = session.Session()
143
- config_data = 'ca_cert: "ca/path"'
140
+ def test_get_prometheus_client_from_env_vars_ipv6(self):
141
+ patched_env = {'PROMETHEUS_HOST': '2607:5300:201:2000::654',
142
+ 'PROMETHEUS_PORT': '1234'}
143
+ with mock.patch.dict(os.environ, patched_env), \
144
+ mock.patch.object(metric_utils, 'get_config_file',
145
+ return_value=None), \
146
+ mock.patch.object(prometheus_client.PrometheusAPIClient,
147
+ "__init__", return_value=None) as m:
148
+ metric_utils.get_prometheus_client()
149
+ m.assert_called_with("[2607:5300:201:2000::654]:1234", None, "")
150
+
151
+ def test_get_prometheus_client_from_conf_file_ipv6(self):
152
+ config_data = '''
153
+ host: "2607:5300:201:2000::654"
154
+ port: "80"
155
+ '''
144
156
  config_file = mock.mock_open(read_data=config_data)("name", 'r')
145
157
  with mock.patch.dict(os.environ, {}), \
146
158
  mock.patch.object(metric_utils, 'get_config_file',
147
159
  return_value=config_file), \
160
+ mock.patch.object(prometheus_client.PrometheusAPIClient,
161
+ "__init__", return_value=None) as init_m:
162
+ metric_utils.get_prometheus_client()
163
+ init_m.assert_called_with(
164
+ "[2607:5300:201:2000::654]:80", None, ""
165
+ )
166
+
167
+ def test_get_prometheus_client_from_keystone_ipv6(self):
168
+ prom_endpoint = "http://[2607:5300:201:2000::654]:80/prometheus"
169
+ keystone_session = session.Session()
170
+ with mock.patch.dict(os.environ, {}), \
171
+ mock.patch.object(metric_utils, 'get_config_file',
172
+ return_value=None), \
148
173
  mock.patch.object(adapter.Adapter, 'get_endpoint',
149
- return_value=prometheus_endpoint), \
174
+ return_value=prom_endpoint), \
150
175
  mock.patch.object(prometheus_client.PrometheusAPIClient,
151
176
  "__init__", return_value=None) as init_m, \
152
177
  mock.patch.object(prometheus_client.PrometheusAPIClient,
153
178
  "set_ca_cert") as ca_m:
154
179
  metric_utils.get_prometheus_client(keystone_session)
155
180
  init_m.assert_called_with(
156
- "localhost:1234", keystone_session, "prometheus"
181
+ "[2607:5300:201:2000::654]:80", keystone_session, "prometheus"
157
182
  )
158
- ca_m.assert_called_with("ca/path")
183
+ ca_m.assert_not_called()
159
184
 
160
185
 
161
186
  class FormatLabelsTest(testtools.TestCase):
@@ -18,6 +18,7 @@ from urllib import parse
18
18
 
19
19
  from keystoneauth1 import adapter
20
20
  from keystoneauth1.exceptions import catalog as keystone_exception
21
+ from oslo_utils import netutils
21
22
  import yaml
22
23
 
23
24
  from observabilityclient.prometheus_client import PrometheusAPIClient
@@ -48,11 +49,33 @@ def get_config_file():
48
49
  return None
49
50
 
50
51
 
51
- def get_prometheus_client(session=None, adapter_options={}):
52
- host = None
53
- port = None
54
- ca_cert = None
55
- root_path = ""
52
+ def get_prom_client_from_keystone(session, adapter_options=None):
53
+ if adapter_options is None:
54
+ adapter_options = {}
55
+ endpoint = adapter.Adapter(
56
+ session=session, **adapter_options
57
+ ).get_endpoint()
58
+ parsed_url = parse.urlparse(endpoint)
59
+
60
+ escaped_host = netutils.escape_ipv6(parsed_url.hostname)
61
+ root_path = parsed_url.path.strip('/')
62
+ tls = parsed_url.scheme == "https"
63
+
64
+ if parsed_url.port is not None:
65
+ url = f'{escaped_host}:{parsed_url.port}'
66
+ else:
67
+ url = escaped_host
68
+
69
+ client = PrometheusAPIClient(url, session, root_path)
70
+
71
+ if tls:
72
+ client.set_ca_cert(True)
73
+ return client
74
+
75
+
76
+ def get_prom_client_from_file_or_env():
77
+ host = port = ca_cert = None
78
+ root_path = ''
56
79
  conf_file = get_config_file()
57
80
  if conf_file is not None:
58
81
  conf = yaml.safe_load(conf_file)
@@ -65,31 +88,6 @@ def get_prometheus_client(session=None, adapter_options={}):
65
88
  if 'root_path' in conf:
66
89
  root_path = conf['root_path']
67
90
  conf_file.close()
68
-
69
- if session is not None and (host is None or port is None):
70
- try:
71
- endpoint = adapter.Adapter(
72
- session=session, **adapter_options
73
- ).get_endpoint()
74
- parsed_url = parse.urlparse(endpoint)
75
- host = parsed_url.hostname
76
- port = parsed_url.port if parsed_url.port is not None else 80
77
- root_path = parsed_url.path.strip('/')
78
- if parsed_url.scheme == "https" and ca_cert is None:
79
- # NOTE(jwysogla): Use the default CA certs if the scheme
80
- # is https, but keep the original value if already set,
81
- # so that a custom certificate can be set in the config
82
- # file, while the endpoint is retrieved from keystone.
83
- ca_cert = True
84
- except keystone_exception.EndpointNotFound:
85
- # NOTE(jwysogla): Don't do anything here. It's still possible
86
- # to get the correct endpoint configuration from the env vars.
87
- # If that doesn't work, the same error message is part of the
88
- # exception raised below.
89
- pass
90
-
91
- # NOTE(jwysogla): We allow to overide the prometheus.yaml by
92
- # the environment variables
93
91
  if 'PROMETHEUS_HOST' in os.environ:
94
92
  host = os.environ['PROMETHEUS_HOST']
95
93
  if 'PROMETHEUS_PORT' in os.environ:
@@ -100,14 +98,48 @@ def get_prometheus_client(session=None, adapter_options={}):
100
98
  root_path = os.environ['PROMETHEUS_ROOT_PATH']
101
99
  if host is None or port is None:
102
100
  raise ConfigurationError("Can't find prometheus host and "
103
- "port configuration and endpoint for service"
104
- "prometheus not found.")
105
- client = PrometheusAPIClient(f"{host}:{port}", session, root_path)
101
+ "port configuration in config file or "
102
+ "environment variables.")
103
+ escaped_host = netutils.escape_ipv6(host)
104
+ client = PrometheusAPIClient(
105
+ f"{escaped_host}:{port}", None, root_path
106
+ )
106
107
  if ca_cert is not None:
107
108
  client.set_ca_cert(ca_cert)
108
109
  return client
109
110
 
110
111
 
112
+ def get_prometheus_client(session=None, adapter_options=None):
113
+ if adapter_options is None:
114
+ adapter_options = {}
115
+
116
+ keystone_error = None
117
+ if session is not None:
118
+ try:
119
+ return get_prom_client_from_keystone(session, adapter_options)
120
+ except keystone_exception.EndpointNotFound as e:
121
+ # NOTE(jwysogla): Fallback to get the endpoint configuration from
122
+ # the config file and env vars. If that doesn't work, the error
123
+ # message is raised as ConfigurationError later.
124
+ keystone_error = e
125
+ LOG.debug("Aetos endpoint discovery from Keystone failed: %s", e)
126
+
127
+ # NOTE(jwysogla): Always fallback to the original method of discovery
128
+ # through config file and env variables for backwards compatibility.
129
+ try:
130
+ return get_prom_client_from_file_or_env()
131
+ except ConfigurationError as e:
132
+ if keystone_error is not None:
133
+ raise ConfigurationError(
134
+ f"Failed to configure Prometheus client. "
135
+ f"Aetos discovery from keystone failed: '{keystone_error}'. "
136
+ f"Prometheus configuration from config file and environment "
137
+ f"variables failed: '{e}'"
138
+ )
139
+ else:
140
+ raise e
141
+
142
+
111
143
  def get_client(obj):
112
144
  return obj.app.client_manager.observabilityclient
113
145
 
@@ -28,7 +28,7 @@ class Client(object):
28
28
  session_options = session_options or {}
29
29
  adapter_options = adapter_options or {}
30
30
 
31
- adapter_options.setdefault('service_type', "prometheus")
31
+ adapter_options.setdefault('service_type', "metric-storage")
32
32
 
33
33
  if session is None:
34
34
  session = keystoneauth1.session.Session(**session_options)
@@ -1,5 +1,6 @@
1
1
  Alfredo Moralejo <amoralej@redhat.com>
2
2
  Chris Sibbitt <csibbitt@redhat.com>
3
+ Cyril Roelandt <cyril@redhat.com>
3
4
  Erno Kuvaja <jokke@usr.fi>
4
5
  Ghanshyam Mann <gmann@ghanshyammann.com>
5
6
  Jaromir Wysoglad <jwysogla@redhat.com>
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-observabilityclient
3
- Version: 1.0.0
3
+ Version: 1.2.0
4
4
  Summary: OpenStack Observability Client
5
- Home-page: https://infrawatch.github.io/documentation/
5
+ Home-page: https://opendev.org/openstack/python-observabilityclient
6
6
  Author: OpenStack
7
7
  Author-email: openstack-discuss@lists.openstack.org
8
8
  License: Apache License, Version 2.0
@@ -17,11 +17,10 @@ Classifier: Programming Language :: Python
17
17
  Classifier: Programming Language :: Python :: Implementation :: CPython
18
18
  Classifier: Programming Language :: Python :: 3 :: Only
19
19
  Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
24
- Requires-Python: >=3.9
23
+ Requires-Python: >=3.10
25
24
  Description-Content-Type: text/markdown; charset=UTF-8
26
25
  License-File: LICENSE
27
26
  License-File: AUTHORS
@@ -45,7 +44,7 @@ Install your OpenStack environment and patch your `openstack` client application
45
44
  su - stack
46
45
 
47
46
  # clone and install observability client plugin
48
- git clone https://github.com/infrawatch/python-observabilityclient
47
+ git clone https://opendev.org/openstack/python-observabilityclient.git
49
48
  cd python-observabilityclient
50
49
  sudo python setup.py install --prefix=/usr
51
50
  ```
@@ -2,30 +2,30 @@ observabilityclient/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
2
2
  observabilityclient/client.py,sha256=cfRb816p6Ips9t2cdWvmSJ1uGrtTEHXQnctoExrLA5A,828
3
3
  observabilityclient/i18n.py,sha256=PFo6BaOfyGQD5q7L3FunYJ8d4mwbRszG8wOrJIjki_4,790
4
4
  observabilityclient/plugin.py,sha256=hyxENjNO6NLrH6G4muyAeEEtFTBa9d5OozjwpzNpJVA,2262
5
- observabilityclient/prometheus_client.py,sha256=yn0cOj08CUYLNydyh3sc1vTPGwplxZeMiyNN4l52aoY,7457
6
- observabilityclient/rbac.py,sha256=Rw2jyEl-xGb2U6wi7mDjJxTR9kGpIt8xOKOUOFvjq1Q,6327
5
+ observabilityclient/prometheus_client.py,sha256=3-ICn_hqcuiZRGh54ysZwI-CncMRyeUefmQx1b5fz54,7432
6
+ observabilityclient/rbac.py,sha256=EudKSx79doqV-2Ka2HraP2ImOOj1ctIno4-rMVI2jqY,7830
7
7
  observabilityclient/tests/functional/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- observabilityclient/tests/functional/base.py,sha256=SXbPiksFH7aER-zZjIWxz5nwCqq5f1MYWth1tlFLwcs,6523
8
+ observabilityclient/tests/functional/base.py,sha256=X2KZRKrHQlQf5uMeNERydlIPQYdhjd5LI_MlGfT0oTA,6516
9
9
  observabilityclient/tests/functional/test_cli.py,sha256=jwhgt8w0gq1CdDoaDKLV8SB_hQRmgnbMw9rRIyfcZLo,3944
10
10
  observabilityclient/tests/functional/test_python_api.py,sha256=5TLFboJ7B__UZ9zfc6bVSxPTzV9KnnrwluTqLwnTZLs,3308
11
11
  observabilityclient/tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  observabilityclient/tests/unit/test_cli.py,sha256=N19Yo-PIdhlR4-tKQCKbtoetbknxZwl10zsEQSA1Leo,6191
13
13
  observabilityclient/tests/unit/test_prometheus_client.py,sha256=iyAypBArQE2e7WGORwhelpoKdNAK1UD2SqZcs6p6ToQ,18982
14
14
  observabilityclient/tests/unit/test_python_api.py,sha256=gMUcsvQISESY7p3NWsuoHk07I0phc74c-JC2vKRKfBI,4741
15
- observabilityclient/tests/unit/test_rbac.py,sha256=9kntOcGUwz9uzG2S4uZUozOl_BMw7I9b0W8FCoaNvm4,6961
16
- observabilityclient/tests/unit/test_utils.py,sha256=6Y1sgYk-5bJeS0OEUUnjNpTsAbiPYY8zBn_BWwvYoec,11258
15
+ observabilityclient/tests/unit/test_rbac.py,sha256=sSIw8y8Xgdy6nJm0QW2ImZzyQOOQ24E5S_s7AtHcnQ8,9012
16
+ observabilityclient/tests/unit/test_utils.py,sha256=FbRR056Xr0RUlXYJVDJVAFF6eB9BmNNbCTpzA3sev7I,12445
17
17
  observabilityclient/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- observabilityclient/utils/metric_utils.py,sha256=Rn4DeaOHgwW0WFJPcwjBqyYreQRYkzSAXFIKfMV2jew,5051
18
+ observabilityclient/utils/metric_utils.py,sha256=AISLI2s1Y7dnQq5aP0BbpczoZIO23hbD_QEpLkqn0Oc,5799
19
19
  observabilityclient/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  observabilityclient/v1/base.py,sha256=keRgOIe7_yvE57fJRZ5O6s0GK6N4CqbGwhw24CmiAGE,2913
21
21
  observabilityclient/v1/cli.py,sha256=ln7GsnbW95n90oFGw4zLiwHDjY0YHBxkRBzID-j6ZmA,4028
22
- observabilityclient/v1/client.py,sha256=J0BWVJY8-IlsPTregtZ-w5MwSqzpVdE4aBd4EO8iDS8,1751
22
+ observabilityclient/v1/client.py,sha256=MPsHTAG3IL_8PD37fbHZnJ_sgCWJyMPO_upEXsiB5D0,1755
23
23
  observabilityclient/v1/python_api.py,sha256=niW0NUWKK-Mdli72gWpP_tjGYEFr4RXc5J3giBkIkuA,3891
24
- python_observabilityclient-1.0.0.dist-info/AUTHORS,sha256=uF42zVMEuwXhMW7eHDIzCpnu-RfapejbBNapd1-nRmc,532
25
- python_observabilityclient-1.0.0.dist-info/LICENSE,sha256=qyh9xnj_IPtYWzClm5mZxCWRKTr2eUP_iLcU28DIvCw,11343
26
- python_observabilityclient-1.0.0.dist-info/METADATA,sha256=mspVnIVKjwTxTnwgWfDF1wxng_sXYawjF4uGEOlJJ20,2998
27
- python_observabilityclient-1.0.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
28
- python_observabilityclient-1.0.0.dist-info/entry_points.txt,sha256=15rmai80pMRfBKZrk6yPNrRkAs2h63bwlcbQKq9fax4,424
29
- python_observabilityclient-1.0.0.dist-info/pbr.json,sha256=YK4B_isOYwbQEIqmRFy2GYseqdIngtkBMAKKtlBB4BU,46
30
- python_observabilityclient-1.0.0.dist-info/top_level.txt,sha256=Lf7Fwm3hfK-X1JNRy19rVlrMUOyQShBBPwsCU3pz6yw,20
31
- python_observabilityclient-1.0.0.dist-info/RECORD,,
24
+ python_observabilityclient-1.2.0.dist-info/AUTHORS,sha256=kbZ0J1gr9UzwvCdQ444XzTLrcuzW1hbhHEqY28qN_f0,566
25
+ python_observabilityclient-1.2.0.dist-info/LICENSE,sha256=qyh9xnj_IPtYWzClm5mZxCWRKTr2eUP_iLcU28DIvCw,11343
26
+ python_observabilityclient-1.2.0.dist-info/METADATA,sha256=16eJZFYqp5gUpcFeW48M52Kongoeiqf0I8mY_t7mwL0,2966
27
+ python_observabilityclient-1.2.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
28
+ python_observabilityclient-1.2.0.dist-info/entry_points.txt,sha256=15rmai80pMRfBKZrk6yPNrRkAs2h63bwlcbQKq9fax4,424
29
+ python_observabilityclient-1.2.0.dist-info/pbr.json,sha256=vlbvTD8gdiSKzRu8OGKteLySLqeGBfHuWuZOJK2TLFo,46
30
+ python_observabilityclient-1.2.0.dist-info/top_level.txt,sha256=Lf7Fwm3hfK-X1JNRy19rVlrMUOyQShBBPwsCU3pz6yw,20
31
+ python_observabilityclient-1.2.0.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ {"git_version": "bcadbfe", "is_release": true}
@@ -1 +0,0 @@
1
- {"git_version": "21e4885", "is_release": true}