File tree Expand file tree Collapse file tree 10 files changed +81
-5
lines changed
opentelemetry-exporter-cloud-monitoring
src/opentelemetry/exporter/cloud_monitoring
opentelemetry-exporter-cloud-trace
src/opentelemetry/exporter/cloud_trace Expand file tree Collapse file tree 10 files changed +81
-5
lines changed Original file line number Diff line number Diff line change 11OpenTelemetry Cloud Monitoring Exporters
22========================================
33
4+ DEPRECATED
5+ ----------
6+
7+ **This package is deprecated. It will not
8+ receive any more updates. ** Please use `opentelemetry-exporter-gcp-monitoring
9+ <https://pypi.org/project/opentelemetry-exporter-gcp-monitoring/> `_ instead. It
10+ will not receive any more updates.
11+
412This library provides classes for exporting metrics data to Google Cloud Monitoring.
513
614Installation
@@ -15,4 +23,4 @@ References
1523
1624* `OpenTelemetry Cloud Monitoring Exporter <https://opentelemetry-python.readthedocs.io/en/latest/ext/cloud_monitoring/cloud_monitoring.html >`_
1725* `Cloud Monitoring <https://cloud.google.com/monitoring/ >`_
18- * `OpenTelemetry Project <https://opentelemetry.io/ >`_
26+ * `OpenTelemetry Project <https://opentelemetry.io/ >`_
Original file line number Diff line number Diff line change 1515#
1616[metadata]
1717name = opentelemetry-exporter-cloud-monitoring
18- description = Cloud Monitoring integration for OpenTelemetry
18+ description = Deprecated Cloud Monitoring integration for OpenTelemetry
1919long_description = file: README.rst
2020long_description_content_type = text/x-rst
2121author = OpenTelemetry Authors
Original file line number Diff line number Diff line change 1+ # Copyright 2021 Google
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
115import logging
216import random
317from typing import Optional , Sequence
1529)
1630from opentelemetry .sdk .metrics .export .aggregate import SumAggregator
1731
32+ import warnings
33+
34+ warnings .warn (
35+ "Package opentelemetry-exporter-cloud-monitoring is deprecated. Please install "
36+ "opentelemetry-exporter-gcp-monitoring instead" ,
37+ DeprecationWarning ,
38+ )
39+
1840logger = logging .getLogger (__name__ )
1941MAX_BATCH_WRITE = 200
2042WRITE_INTERVAL = 10
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- __version__ = "0.10b0 "
15+ __version__ = "0.10b1 "
Original file line number Diff line number Diff line change 1+ # Copyright 2021 Google
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
Original file line number Diff line number Diff line change 11OpenTelemetry Cloud Trace Exporters
22===================================
33
4+ DEPRECATED
5+ ----------
6+
7+ **This package is deprecated. It will not
8+ receive any more updates. ** Please use `opentelemetry-exporter-gcp-trace
9+ <https://pypi.org/project/opentelemetry-exporter-gcp-trace/> `_ and
10+ `opentelemetry-propagator-gcp
11+ <https://pypi.org/project/opentelemetry-propagator-gcp/> `_ instead. It will not
12+ receive any more updates.
13+
414This library provides classes for exporting trace data to Google Cloud Trace.
515
616Installation
Original file line number Diff line number Diff line change 1414#
1515[metadata]
1616name = opentelemetry-exporter-cloud-trace
17- description = Cloud Trace integration for OpenTelemetry
17+ description = Deprecated Cloud Trace integration for OpenTelemetry
1818long_description = file: README.rst
1919long_description_content_type = text/x-rst
2020author = OpenTelemetry Authors
Original file line number Diff line number Diff line change 6464)
6565from opentelemetry .util import types
6666
67+ import warnings
68+
69+ warnings .warn (
70+ "Package opentelemetry-exporter-cloud-monitoring is deprecated. Please install "
71+ "opentelemetry-exporter-gcp-monitoring instead" ,
72+ DeprecationWarning ,
73+ )
74+
6775logger = logging .getLogger (__name__ )
6876
6977MAX_NUM_LINKS = 128
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- __version__ = "0.10b0 "
15+ __version__ = "0.10b1 "
Original file line number Diff line number Diff line change 1+ # Copyright 2021 Google
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
You can’t perform that action at this time.
0 commit comments