06 Aug 2018 10:35 PM - last edited on 21 Aug 2024 11:41 AM by Michal_Gebacki
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
Solved! Go to Solution.
07 Aug 2018 05:42 AM
Did you use a tag filter with a tag that is not know to the Dynatrace environment?
07 Aug 2018 03:01 PM
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.
07 Aug 2018 03:10 PM
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