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

Command Line ARGS for POSTGRE SQL Instances

nicemukesh
Contributor

Hi Team,

Need your help here..

We don't see command line args under properties and tags for POSTGRE Instances. Requirement is to create a separate process group using command line args. We would like to understand how to enable command line args for POSTGRE Instances.

Mukesh

4 REPLIES 4

PacoPorro
Dynatrace Leader
Dynatrace Leader

Maybe you can use 

https://docs.dynatrace.com/docs/platform-modules/infrastructure-monitoring/process-groups/configurat...

 

  • If none of the above process group detection options works, you can use the environment variable DT_CLUSTER_ID to group all processes that have the same value for this variable. All processes found in a monitoring environment that share the same cluster ID are treated as members of the same process group, and are separated only by the hosts they run on (for example, clusters of Apache web servers that belong together and host the same site). Make sure you set the DT_CLUSTER_ID variable only on a process-by-process basis, not system wide! If you set this variable system-wide, all processes may be grouped into a single process group for monitoring. This is undesirable and unsupported.

  • To identify nodes within a process cluster that run on the same host, use the DT_NODE_ID environment variable. This tells Dynatrace which processes should be taken as separate process group instances.

Thanks for your response...

Julius_Loman
DynaMight Legend
DynaMight Legend

@PacoPorro DT_CLUSTER_ID and DT_NODE_ID are for deep monitored processes with code module injected. Postgresql is not one of them. For this, @nicemukesh needs declarative process grouping instead.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

@Julius_Loman Dynatrace creates multiple process instances with same name Postgresql . Actually, we want to distinguish process instances using command line arg of process and it is not being captured by Dynatrace under Properties and tags.  

command line arg

D /u01/app/postgres/postgres1/pg15/data/pgbase

D /u01/app/postgres/postgres2/pg15/data/pgbase 

Can you please let me know why it is missing and how it can be captured in  by Dynatrace

Mukesh

Featured Posts