We have some customers who are using Broadcom APM for metrics handling and presentation. This AMPMetricsHandler is a customized one that can connect to the EPAgent deployed on the Kubernetes cluster as a common service or VM host for VM deployment.
The APM Agent support RESTful Interface that is defined here
The metrics collection is managed by the AbstractMetricsHandler and both push metrics handlers ([MetricsHandler] and APMMetricsHandler are extended from the AbstractMetricsHandler.
For general information on the metrics, please visit here.
By default, InfluxDB MetricsHandler is used in the default chain generated. We need to replace it with the AMPMetricsHandler in the handlers definition section in the handler.yml file.
handlers: . . . - [email protected] . . . chain.default . . . - metrics . . .
In the values.yml file, we need to overwrite some properties from the metrics.yml file.
# metrics.yml metrics.serverHost: opentracing.ccaapm.svc.cluster.local metrics.serverPort: 8888 metrics.serverPath: /apm/metricFeed metrics.productName: http-sidecar metrics.sendIssuer: true metrics.issuerRegex: /([^/]+)$
If you want to capture the outbound and inbound request time for proxy handler and router handler with http-sidecar and light-gateway, you can enable that with the following in values.yml file.
# proxy.yml proxy.metricsInjection: true # router.yml router.metricsInjection: true