imgproxy can send its metrics to Datadog. To use this feature, do the following:
IMGPROXY_DATADOG_ENABLE environment variable to true;Configure the Datadog tracer using ENV variables provided by the package:
DD_AGENT_HOST – sets the address to connect to for sending metrics to the Datadog Agent. Default: localhostDD_TRACE_AGENT_PORT – sets the Datadog Agent Trace port. Default: 8126DD_DOGSTATSD_PORT – set the DogStatsD port. Default: 8125DD_SERVICE – sets desired application name. Default: imgproxyDD_ENV - sets the environment to which all traces will be submitted. Default: emptyDD_TRACE_SOURCE_HOSTNAME - allows specifying the hostname with which to mark outgoing traces. Default: emptyDD_TRACE_REPORT_HOSTNAME - when true, sets hostname to os.Hostname() with which to mark outgoing traces. Default: falseDD_TAGS - sets a key/value pair which will be set as a tag on all traces. Example: DD_TAGS=datacenter:njc,key2:value2. Default: emptyDD_TRACE_ANALYTICS_ENABLED - allows specifying whether Trace Search & Analytics should be enabled for integrations. Default: falseDD_RUNTIME_METRICS_ENABLED - enables automatic collection of runtime metrics every 10 seconds. Default: falseDD_TRACE_STARTUP_LOGS – causes various startup info to be written when the tracer starts. Default: trueDD_TRACE_DEBUG – enables detailed logs. Default: falseimgproxy will send the following info to Datadog: