What you will learn in this TP
- Send DogStatsD metrics
- Build a dashboard with variables
- Measure cardinality
Introduction #
What you will learn in this section
- Send DogStatsD metrics
- Build a dashboard with variables
- Measure cardinality
Context. The product team wants to track orders in real time alongside the technical metrics. You send business metrics while keeping the bill under control.
Prerequisites: Previous lab completed · Estimated time: 40 min
Useful, well-controlled business metrics.Hands-on #
Guided steps, with their solutions.
1. Send counters
Why? DogStatsD aggregates on the agent side: the application sends over UDP without waiting.
For one minute, send orders with a payment method tag.2. Explore
Why? The Metrics Explorer confirms reception and the tags.
In Metrics > Explorer, graphsum:boutique.commandes{env:lab} by {moyen_paiement}.as_count().3. Dashboard with variables
Why? An
Create a “Boutique” dashboard with aenvvariable makes the dashboard reusable across all environments.$envvariable, a Query Value widget (orders in the last hour) and a Timeseries of the p95 basket amount.4. Measure cardinality
Why? To understand why a tag can be expensive.
Send 500 points with a uniquecommande_idtag, then compare the metric's number of series in Metrics Summary.
Difficulty level : ●●●○○ (3/5)
My progress
Sign in to track your progress and take notes. Sign in
💬 Recent discussions about this course
- Datadog : relier traces, logs et métriques du même service✓ solved · 1 reply(ies)
Ask a question about this lesson →See all discussions about this course
Recommended Articles
Metrics and tags in Datadog: unified tagging, DogStatsD and cardinality
Use Datadog metrics: unified tagging (env, service, version), queries and aggregations, custom me...
Advanced Datadog metrics: types, aggregations, cardinality and Metrics without Limits
Master Datadog metrics: types (count, rate, gauge, histogram, distribution), time and space aggre...
Datadog best practices: tags, costs, alerts and governance
Checklist for using Datadog effectively: unified tagging, cost control (hosts, logs, custom metri...
Datadog dashboards and notebooks: widgets, template variables and best practices
Design useful Datadog dashboards: widget types, template variables, groups, Powerpacks, formulas,...
Mastering variables in Grafana: make your dashboards dynamic
Learn how to use variables to create interactive, reusable dashboards. Discover the difference be...
Service types in Dynatrace: web, database, messaging, custom and unified services
What a service is for Dynatrace, the automatically detected service types (web requests, web serv...
Grafana cross-dashboard variables: share variables across dashboards
Create your Grafana variables once and reuse them everywhere: global or folder scope, enabling, a...
Prometheus: visualizing your metrics (UI, Grafana and dashboards)
Visualize Prometheus data: the web interface, PromQL graphs, connecting to Grafana, RED and USE d...
Monitors, SLOs, dashboards and Datadog as code
Create effective monitors (metrics, logs, APM, composites, anomalies), SLOs, dashboards, and mana...