Kibana version: 7.3.2
Elasticsearch version: 7.3.2
APM Server version: 7.3.2
APM Agent language and version:
go.elastic.co/apm v1.5.0
go.elastic.co/apm/module/apmecho v1.5.0
go.elastic.co/apm/module/apmsql v1.5.0
Browser version: N/A
Original install method (e.g. download page, yum, deb, from source, etc.) and version: Elastic Cloud
Fresh install or upgraded from other version? N/A
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
I have a Kubernetes Pod that is pushing to Elastic Cloud via the Go APM echo module. It has the following settings:
⇒ kc -n pg-10 exec -it api-v3-5c77c77db6-xh7sx sh
/app # env | grep ELASTIC
ELASTIC_APM_ENVIRONMENT=pg-10
ELASTIC_APM_SECRET_TOKEN=<redacted>
ELASTIC_APM_IGNORE_URLS=/metrics
ELASTIC_APM_SERVICE_NAME=api-v3
ELASTIC_APM_SERVER_URL=<redacted>
In Kibana I'm still seeing /metrics calls, see the image I've saved at https://i.imgur.com/8ijkjHQ.png
How do I go about also excluding all "/metrics" and "/" routes. But also I'm interested in excluding all metric data completely, however I tried ELASTIC_APM_METRICS_INTERVAL=0s but the metrics index is still receiving data.
I've also tried all all of these environment variables also but ENVIRONMENT and SERVICE_NAME seem to be the only variables affecting anything:
ELASTIC_APM_METRICS_INTERVAL=0s
ELASTIC_APM_DISABLE_METRICS=*
ELASTIC_APM_CAPTURE_HEADERS=false
ELASTIC_APM_BREAKDOWN_METRICS=false
ELASTIC_APM_IGNORE_URLS=/metrics, /
ELASTIC_APM_STACK_TRACE_LIMIT=0
Appreciate any insight into how to configure this correctly.