So I managed to set it up with datadog agent (dogstatsd) as a sidecar container alongside the temporal server container. I set an env variable for temporal:
STATSD_ENDPOINT=localhost:8125
The statsD agent appears to be receiving calls from temporal, but it seems like temporal server is reporting in a syntax that doesn’t appear to be supported:
2021-06-25 05:28:30 UTC | CORE | ERROR | (pkg/dogstatsd/server.go:568 in errLog) | Dogstatsd: error parsing metric message ‘“temporal.build_information.build_date.2021-06-08-20:42:06.build_platform.linux/amd64.build_version.1.10.2.git_branch.HEAD.git_revision.e354132c.git_tag.v1.10.1.go_version.go1.16.4:1|g”’: could not parse dogstatsd metric values: strconv.ParseFloat: parsing “06.build_platform.linux/amd64.build_version.1.10.2.git_branch.HEAD.git_revision.e354132c.git_tag.v1.10.1.go_version.go1.16.4”: invalid syntax
Has Anyone gotten this working with temporal cloud?
I have the prometheus endpoint up with temporal cloud but datadog agent is not able to read from it.
“message”: “Unsupported content-type provided: text/html”, “traceback”: "Traceback (most recent call last):\n File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 1122, in run\n self.check(instance)
I set an env variable
STATSD_ENDPOINT=localhost:8125
and statsd agent is receiving calls but I am getting “error parsing metric message” error. I went through setting up a custom report explained here Temporal Server options | Temporal Documentation but seems like the WithCustomMetricsReporter doesn’t exist anymore.
Any suggestion on how to fix this issue or maybe there is an easier way to send metrics to datadog without a custom report setup?