1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-04-01 20:34:23 +02:00
imgproxy/docs/datadog.md
Travis-Turner c51521961f
Docs/edits overhaul (#785)
* Update landing page / README.md

* Update GETTING_STARTED.md

* Update installation.md

* Update getting_the_image_info.md

* update signing_the_url.md

* Update watermark.md

* Update presets.md

* Update object_detection.md

* Update autoquality.md

* Update serving_local_files.md

* Update docs/serving_files_from_s3.md

* Update configuration.md

* Update generating_the_url.md

* Update chained_pipelines.md but chained pipelines section is not finished

* Update serving_files_from_google_cloud_storage.md

* Update new_relic.md

* Update prometheus.md

* Update datadog.md

* Update image_formats_support.md

* Update about_processing_pipeline.md

* Update healthcheck.md

* Update memory_usage_tweaks.md

* Remove GIF/ICO/BMP/HEIF/AVIF support sections from docs/image_formats_support.md

* Minor fixes of the docs

* Update serving_files_from_azure_blob_storage.md

* Fix issue with x and y offset for 're' watermark property

* Fix params description in docs/watermark.md

* Fix Alexander Madyankin GH name

* Special thanks to Travis

* Fix README

Co-authored-by: DarthSim <darthsim@gmail.com>
2022-02-01 15:43:36 +06:00

1.8 KiB

Datadog

imgproxy can send its metrics to Datadog. To use this feature, do the following:

  1. Install & configure the Datadog Trace Agent (>= 5.21.1).

  2. Set the IMGPROXY_DATADOG_ENABLE environment variable to true.

  3. 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: localhost
    • DD_TRACE_AGENT_PORT: sets the Datadog Agent Trace port. Default: 8126
    • DD_DOGSTATSD_PORT: set the DogStatsD port. Default: 8125
    • DD_SERVICE: sets the desired application name. Default: imgproxy
    • DD_ENV: specifies the environment to which all traces will be submitted. Default: empty
    • DD_TRACE_SOURCE_HOSTNAME: specifies the hostname with which to mark outgoing traces. Default: empty
    • DD_TRACE_REPORT_HOSTNAME: when true, sets hostname to os.Hostname() with which to mark outgoing traces. Default: false
    • DD_TAGS: sets a key/value pair which will be set as a tag on all traces. Example: DD_TAGS=datacenter:njc,key2:value2. Default: empty
    • DD_TRACE_ANALYTICS_ENABLED: allows specifying whether Trace Search & Analytics should be enabled for integrations. Default: false
    • DD_RUNTIME_METRICS_ENABLED: enables automatic collection of runtime metrics every 10 seconds. Default: false
    • DD_TRACE_STARTUP_LOGS: causes various startup info to be written when the tracer starts. Default: true
    • DD_TRACE_DEBUG: enables detailed logs. Default: false

imgproxy will send the following info to Datadog:

  • Response time
  • Image downloading time
  • Image processing time
  • Errors that occurred while downloading and processing image