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

Custom Multidimensional Analysis with server instance name

We are trying to fetch the traces(API Endpoint) with Host name, where we want analysis the failure rate, count and response time etc for API endpoint from group web servers(here we have five web servers).

For that we have tried to defined the multidimensional analysis with {Request:Name}{Service:Instance} and we can able view the failure rate, count and etc.

but when we are trying to create custom metric with the same view but it was not allowing "Cannot create a metric" 

"{Service:Instance} is not allowed as placeholder."

Is there any other way or we need to change any configuration for this?

 

1 REPLY 1

Romanenkov_Al3x
DynaMight Champion
DynaMight Champion

Hello.

Vote for this RFE (Status: Planned )

As workaround you can split services for each of five web server.

Usually I use DT_CLUSTER_ID - environment variable for each process (for example web server)

webserver-1, webserver-2, ... webserver-5 and have 5 process groups, have 5 services.

You can have same effect if you determine your own ENV variable and Settings > Processes and containers > Simple detection rules (builtin:process-group.simple-detection-rule)

Romanenkov_Al3x_0-1705426934377.png

  • add env variable for user which run web server process "SOME=webserver-1" + rule 

or

  • add env variable DT_CLUSTER_ID=webserver-1 

For some teams it is not possible to have 5 service instead one, but for some cases this will be permissible.

 

 

Regards,

Alex Romanenkov

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1

Featured Posts