-
Notifications
You must be signed in to change notification settings - Fork 142
Description
I cannot be able to get a List of Metrics to be fetch via Python SDK.
This is the reference code i am following.
https://github.com/Azure-Samples/azure-samples-python-management/blob/main/samples/monitor/manage_metric_list.py
When running this code i am getting an error
File "/getRMetricsInfo.py", line 50, in
main()
File "/getRMetricsInfo.py", line 33, in main
result = monitor_client.metrics.list(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lib/python3.11/site-packages/azure/core/tracing/decorator.py", line 105, in wrapper_use_tracer
return func(*args, **kwargs)
/lib/python3.11/site-packages/azure/mgmt/monitor/v2018_01_01/operations/_metrics_operations.py", line 218, in list
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Not Implemented'