-
Notifications
You must be signed in to change notification settings - Fork 759
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe your environment
Environment: Microsoft Windows [Version 10.0.19042.1889]
Python: 3.10.5
PIP: 22.2.2
running locally.
Steps to reproduce
- From
docs\examples\metricscopy thereaderfolder to a new location in your drive. In my case it wasC:\learning\otel\reader. - Create your python virtualenv. From a command prompt:
virtualenv . - Install requirements. From a command prompt:
pip install -r requirements.txt - Run the sample code. From a command prompt:
python preferred_aggregation.py - Run the sample code. From a command prompt:
python preferred_temporality.py
What is the expected behavior?
The sample code should run and emit metrics to the console.
What is the actual behavior?
(reader) C:\learning\otel\reader>python preferred_aggregation.py
Traceback (most recent call last):
File "C:\learning\otel\reader\preferred_aggregation.py", line 31, in <module>
reader = PeriodicExportingMetricReader(
TypeError: PeriodicExportingMetricReader.__init__() got an unexpected keyword argument 'preferred_aggregation'
(reader) C:\learning\otel\reader>python preferred_temporality.py
Traceback (most recent call last):
File "C:\learning\otel\reader\preferred_temporality.py", line 32, in <module>
reader = PeriodicExportingMetricReader(
TypeError: PeriodicExportingMetricReader.__init__() got an unexpected keyword argument 'preferred_temporality'
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working