15 Dec 2023 03:09 PM - last edited on 24 Jan 2024 08:10 AM by Michal_Gebacki
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?
Solved! Go to Solution.
16 Jan 2024 05:46 PM
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)
or
For some teams it is not possible to have 5 service instead one, but for some cases this will be permissible.
Regards,
Alex Romanenkov