03 Jun 2022 08:04 PM
Good day for everybody, i wanna know if is possible monitor ETCD(kubernetes dockers) with dynatrace or dynatrace extension
Solved! Go to Solution.
03 Jun 2022 08:27 PM
Hello,
We do have an etcd extension for OpenShift. You can see our github page, as well as view in the Dynatrace hub.
06 Jun 2022 02:26 PM
openshift is a requirement? in my case we dont use openshift.
06 Jun 2022 03:39 PM
Unfortunately, the extension only currently works with Openshift. You can open up a product idea with our Dynatrace team if that is something you'd wish to see in the Dynatrace platform.
06 Jun 2022 03:42 PM
You could also try the Prometheus extension (if you have this data there) or using the Metrics API endpoint to ingest metrics.
07 Jun 2022 12:32 PM
usually, ETCD offers metrics in Prometheus format - you can leverage our feature to scrape Prometheus endpoints in k8s to get these metrics to Dynatrace. In K8s I would recommend this approach over the extension based approach mentioned by @bradley_danyo
26 Jun 2023 07:01 PM
Hello,
Has anyone actually implemented ingestion of etcd Prometheus metrics? I'm running Dynatrace Operator 0.11.2 (full stack). I added the following in etcd pods but no etcd metrics are ingested. I have Prometheus metrics being ingested from several other pods from the same k8s cluster (NOT Openshift)
metrics.dynatrace.com/http.auth: builtin:default
metrics.dynatrace.com/port: "2379"
metrics.dynatrace.com/scrape: "true"
metrics.dynatrace.com/secure: "true"
metrics.dynatrace.com/tls.ca.crt: secretdynatrace-dev-tls-etcd-own:ca.crt
metrics.dynatrace.com/tls.crt: secretdynatrace-dev-tls-etcd-own:tls.crt
metrics.dynatrace.com/tls.key: secretdynatrace-dev-tls-etcd-own:tls.key
Appreciate any help/insights
Thanks. Tibebe
26 Jun 2023 07:02 PM
FYI, I can get metrics manually from the etcd metrics endpoint (host:2379/metrics) with no issue
26 Jun 2023 07:49 PM
Did you check the response code the operator returned? Use the dsfm metric
dsfm:active_gate.kubernetes.api.query_count and filter for desired endpoint.
27 Jun 2023 02:29 PM
Hi @Julius_Loman. Thanks much for the insight.
The cluster I am testing with (a sandbox) has very limited # of HUs/license. I'll try on another cluster.
Thanks. Tibebe