Sign inSign up

jacksondavenport/sample-python-app-cron

By jacksondavenport

•Updated 15 days ago

Image
0

10K+

jacksondavenport/sample-python-app-cron repository overview

Sample Python app that submits a simple sample trace of a parent span with two child spans over ~0.5 seconds. Additionally emits two DogStatsD metrics, test.iteration (GAUGE) and test.increment (COUNT) as metrics with a value of 1.0 and the tag iteration:X for each count.

This can be configured with the environment variables:

  • TRACE_COUNT: Number of traces/metrics sent (default: 100)
  • FREQUENCY: Sleep time between traces in seconds (default: 0.5)
  • EXIT_WAIT: Sleep time to wait after final trace submission before shutting down in seconds (default: 0)

Using Python Datadog Tracer so can configure it accordingly as well with DD_AGENT_HOST.

Tag summary

Content type

Image

Digest

sha256:3c27a0034…

Size

71.2 MB

Last updated

about 1 year ago

docker pull jacksondavenport/sample-python-app-cron