26 Jan 2022 11:10 AM - last edited on 18 May 2023 12:04 PM by Michal_Gebacki
Hello Community,
Where is the appropriate location to store temporary files, I seem to be getting "error 13 permission denied" when trying to read or write a file from my extension logic.
When I started working on this extension, I had a lot of questions and I am glad I saw similar answers in the community. I wish the docs are comprehensive or maybe I haven't found the right docs.
Please share if you do.
Solved! Go to Solution.
26 Jan 2022 11:41 AM
Hi,
I've always used import tempfile and saved it in tempfile.gettempdir(). That works with thousands of endpoints over hundreds of companies.
Mike
26 Jan 2022 12:06 PM
Thanks, Mike.
I know metrics have to be defined in the JSON file before any of the methods like "absolute or relative" can be used with the key named argument.
Is there a way to do dynamic metrics? I intend to get the metric from the config UI.
26 Jan 2022 12:08 PM
What I always do when that's needed is to send in the metrics via the metrics ingest API/cli. That way you can name it whatever.
26 Jan 2022 12:13 PM - edited 26 Jan 2022 12:19 PM
So using the API or CLI doesn't need the device group or device, right?
Kindly share with me an open-source Activegate plugin with this pattern.
Thanks in advance.
26 Jan 2022 12:17 PM
Correct. For improved visualization you can create a generic entity, and potentially a generic relationship.
26 Jan 2022 12:23 PM
Kindly share with me an open-source Activegate plugin with this pattern.
Thanks in advance.
26 Jan 2022 12:24 PM
Hi, There is none, only paid extensions from our services department.
26 Jan 2022 06:02 PM
While it might not ease your specific need, I have compiled a list of public available Activegate extensions:
https://community.dynatrace.com/t5/Dynatrace-tips/Activegate-Extensions/m-p/113705
It's interesting sometimes to learn by example 🙂
28 Jan 2022 12:36 PM
Hello @AntonioSousa & @Mike_L ,
I have got a few questions about metrics ingestion and charting for dashboards.
Give the sample data heading:
"date_time started" | "date_time ended" | "metric_data"
How do I ingest this as a single data point?
The timeframe selector is tied to the date and time the metric was ingested, but how do I create a visualisation based on the other values I have, Essentially changing the axis, if they can be ingested as a single data point?
What has dimension got to do with these?
28 Jan 2022 04:38 PM
Maybe pass in a second metric called "response time" or so that's the difference between started and ended?
28 Jan 2022 05:05 PM
Yes, I also do it this way.
28 Jan 2022 05:33 PM
Thanks.
I will test all my theories. Hopefully, it works.
26 Jan 2022 06:27 PM
Thanks, Anthonio.
I found the list earlier, and it has been helpful.