cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error using DT API using dtcli.py

aboddeti
Inactive

While using dtcli.py (https://github.com/Dynatrace/dynatrace-cli) for querying metrics using DT API getting the following error.

> py dtcli.py dqlr host .* host.cpu.system[max%hour]
C:\Anaconda3\lib\site-packages\urllib3\connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.
See: https://urllib3.readthedocs.io/en/latest/advanced...
InsecureRequestWarning)
{'Error': "Dynatrace API returned an error: The tag '' is unknown"}

Appreciate if anyone can help with this issue

 

3 REPLIES 3

wolfgang_beer
Dynatrace Leader
Dynatrace Leader

Did you use a tag filter with a tag that is not know to the Dynatrace environment?


aboddeti
Inactive

I suspected the same while using the tag but as you can see in the above command

"py dtcli.py dqlr host .* host.cpu.system[max%hour]" I did not have any tag but still I am getting the same error.

Let me know if you need any further details.


andreas_grabner
Dynatrace Guru
Dynatrace Guru

Hi. I am the owner of this GitHub project and happy to help. As I like to test this myself against your tenant I suggest we exchange some of these details via email. Please send me an email and we discuss the next steps: firstname.lastname@dynatrace.com


Contact our DevRel team through devrel@dynatrace.com

Featured Posts