Skip to content

Commit 74ffca2

Browse files
authored
Remove Pyroscope auth token and relax version pin (#137)
1 parent 8316350 commit 74ffca2

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

microbootstrap/instruments/pyroscope_instrument.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class PyroscopeConfig(BaseInstrumentConfig):
1919

2020
pyroscope_endpoint: pydantic.HttpUrl | None = None
2121
pyroscope_sample_rate: int = 100
22-
pyroscope_auth_token: str | None = None
2322
pyroscope_tags: dict[str, str] = pydantic.Field(default_factory=dict)
2423
pyroscope_additional_params: dict[str, typing.Any] = pydantic.Field(default_factory=dict)
2524

@@ -38,7 +37,6 @@ def bootstrap(self) -> None:
3837
pyroscope.configure(
3938
application_name=self.instrument_config.opentelemetry_service_name or self.instrument_config.service_name,
4039
server_address=str(self.instrument_config.pyroscope_endpoint),
41-
auth_token=self.instrument_config.pyroscope_auth_token or "",
4240
sample_rate=self.instrument_config.pyroscope_sample_rate,
4341
tags=(
4442
{"service_namespace": self.instrument_config.opentelemetry_namespace}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies = [
4141
"rich>=13",
4242
"sentry-sdk>=2.7",
4343
"structlog>=24",
44-
"pyroscope-io<=1.0.0; platform_system != 'Windows'",
44+
"pyroscope-io>=1.0.0; platform_system != 'Windows'",
4545
"opentelemetry-distro[otlp]>=0.54b1",
4646
"opentelemetry-instrumentation-aio-pika>=0.54b1",
4747
"opentelemetry-instrumentation-aiohttp-client>=0.54b1",

0 commit comments

Comments
 (0)