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

Correlation of mem used and swap used

Hi, there

Is it possible to create a metric event that encompasses both swap space usage and mem used for Linux systems?

I'm able to correlate both of them (swap used % and mem used %) in a single table but any help to convert them into a metric event would be of great help.

Is this something doable in Dynatrace?

Regards,

Srikanth

 

4 REPLIES 4

jaume_reverte
Dynatrace Advisor
Dynatrace Advisor

Hello SrikanthSamraj, 

Can you send us the metric you're using to check the Swap used %? 

If you can correlate them inside a table, then putting them as metric events should be easy. You need to use an arithmetic function using the two metrics inside the metric selector of event metric settings. 

Hope you a good monitoring!
Jaume Reverte

Hi @jaume_reverte,

Here is it,

Query definition type: Metric selector

Metric selector:

builtin:host.mem.swap.used:filter(and(or(in("dt.entity.host",entitySelector("type(host),tag(~"[Environment]xxx:xxx~"),tag(~"[Environment]xxx:xxx~"),tag(~"xxx:xxx~"),tag(~"xxx:xxx~")")))))


/

builtin:host.mem.swap.total:filter(and(or(in("dt.entity.host",entitySelector("type(host),tag(~"[Environment]xxx:xxx~"),tag(~"[Environment]xxx:xxx~"),tag(~"xxx:xxx~"),tag(~"xxx:xxx~")")))))


*100

How do you correlate this with OOTB infrastructure problem "Memory saturation"?

GosiaMurawska
Community Team
Community Team

Hi @SrikanthSamraj, did you manage to solve this one? It would be great if you share it with the Community 🚀

Hi @GosiaMurawska, not yet.

Featured Posts