---
title: Traefik health metricset
description: This is the health metricset of the module traefik. This is a default metricset. If the host module is unconfigured, this metricset is enabled by default...
url: https://www.elastic.co/docs/reference/beats/metricbeat/metricbeat-metricset-traefik-health
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Traefik health metricset
This is the health metricset of the module traefik.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/docs/reference/beats/metricbeat/exported-fields-traefik) section.
Here is an example document generated by this metricset:
```json
{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "traefik.health",
        "duration": 115000,
        "module": "traefik"
    },
    "metricset": {
        "name": "health",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "name": "traefik",
        "type": "traefik"
    },
    "traefik": {
        "health": {
            "response": {
                "avg_time": {
                    "us": 15
                },
                "count": 18,
                "status_codes": {
                    "200": 17,
                    "404": 1
                }
            },
            "uptime": {
                "sec": 64283
            }
        }
    }
}
```