Skip to content

Commit

Permalink
Merge pull request #13 from dnstapir/release/1.0.0
Browse files Browse the repository at this point in the history
Release v1.0.0
  • Loading branch information
jschlyter authored Nov 7, 2024
2 parents 3ef51b5 + 30cf219 commit 2151a48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dnstapir/opentelemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def configure_opentelemetry(

trace_provider = TracerProvider(resource=resource)
processor = BatchSpanProcessor(
OTLPSpanExporter(endpoint=settings.spans_endpoint, insecure=settings.insecure)
OTLPSpanExporter(endpoint=str(settings.spans_endpoint), insecure=settings.insecure)
if settings.spans_endpoint
else ConsoleSpanExporter()
)
Expand All @@ -46,7 +46,7 @@ def configure_opentelemetry(
logger.debug("OTLP spans via %s", settings.spans_endpoint or "console")

reader = PeriodicExportingMetricReader(
OTLPMetricExporter(endpoint=settings.metrics_endpoint, insecure=settings.insecure)
OTLPMetricExporter(endpoint=str(settings.metrics_endpoint), insecure=settings.insecure)
if settings.metrics_endpoint
else ConsoleMetricExporter()
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dnstapir"
version = "0.0.1"
version = "1.0.0"
description = "DNS TAPIR Python Library"
authors = ["Jakob Schlyter <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 2151a48

Please sign in to comment.