Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Allow API/SDK versions 1.* instead of only 1.12.* and fix readme (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc authored Sep 30, 2022
1 parent c785fca commit 46022d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ meter = metrics.get_meter(__name__)

# create a counter instrument and provide the first data point
counter = meter.create_counter(
name="MyCounter",
name="my_counter",
description="Description of MyCounter",
unit="1",
value_type=int
unit="1"
)

counter.add(25, {"dimension-1": "value-1"})
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ package_dir=
=src
packages=find_namespace:
install_requires=
opentelemetry-api~=1.12.0
opentelemetry-sdk~=1.12.0
opentelemetry-api~=1.12
opentelemetry-sdk~=1.12
requests~=2.25
dynatrace-metric-utils~=0.2.1

Expand Down
2 changes: 1 addition & 1 deletion src/dynatrace/opentelemetry/metrics/export/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
MetricReader,
)

VERSION = "1.0.1"
VERSION = "1.0.2"


def configure_dynatrace_metrics_export(
Expand Down

0 comments on commit 46022d2

Please sign in to comment.