28 May 2019 04:56 PM
Hi!
We have a pod and want to test the monitoring of the limits of pods that should be running (Max, not min). Try it with the custom alerts under the process (for all instances) but it dont "add up" the number of process running. And selecting the Process Group shows the metrics empy. So no metric could be selected.
Is there any way to do this?
Solved! Go to Solution.
29 May 2019 10:02 AM
The only idea I have is sending such metrics into dynatrace as custom metric via some script. Then you will be able to set thresholds for it. They will results events + problems later.
Sebastian
29 May 2019 02:03 PM
I though about it, but it would be simpler to extract from the dynatrace api the PG and how many elements does it have and alert it in our alert system.
29 May 2019 05:24 PM
You can ping environment api as well to check amount of entities in process group and make alert in your system based on this output. Is it ok for you?
Sebastian
29 May 2019 08:50 PM
That was my final idea. But the alert wouldn't be in dynatrace sadly.
30 May 2019 05:32 AM
So pinging environment api May be used to push custom metric to DT with custom threshold and event and in such case you will have alert in DT. You should be able to make simple activegate plugin for this as well.
Sebastian
29 May 2019 09:49 PM
We've logged a support ticket for the same thing: the Process Group don't have any metrics and selecting a specific process always shows 12 as the sum.
30 May 2019 01:09 AM
Hi @Andre van der V. Yes, i notice that. for me it was 6 all the time. I actually managed to make it kinda work, but it forced me to "Strip" the concept of docker at process level and unite all the pods under a same process (no pod name or id).
In that case i notice that the Pods running was actually the detected Workers for that process, 3 pods = 3 workers and so on... But that was not use since all the information about the transactions for an specific pod was missing. And also couldnt split the transactions metrics per pods. Either.
04 Jun 2019 05:19 PM
Got this back from support:
The "Process process count" metric is the number of PIDs concurrently running per PGI, not the number of PGIs per PG.
Regarding the empty metric list for "Process Group": there aren't any built in metrics on PG level. So unless there are any custom plugins which define custom metrics on PG level, the metric list will be empty, when selecting "Process Group". As this might be confusing, we redesigned this screen (currently being implemented)
05 Jun 2019 01:38 AM
Hey @Andre van der V. thanks for the update. Is incredible that this simple Metric can't be actually alerted.