| 1 | plugin_name: go.d.plugin |
| 2 | modules: |
| 3 | - meta: |
| 4 | id: collector-go.d.plugin-traefik |
| 5 | plugin_name: go.d.plugin |
| 6 | module_name: traefik |
| 7 | monitored_instance: |
| 8 | name: Traefik |
| 9 | link: https://traefik.io/ |
| 10 | icon_filename: traefik.svg |
| 11 | categories: |
| 12 | - data-collection.web-servers-and-proxies |
| 13 | keywords: |
| 14 | - traefik |
| 15 | - proxy |
| 16 | - webproxy |
| 17 | related_resources: |
| 18 | integrations: |
| 19 | list: [] |
| 20 | info_provided_to_referring_integrations: |
| 21 | description: "" |
| 22 | overview: |
| 23 | data_collection: |
| 24 | metrics_description: | |
| 25 | This collector monitors Traefik servers. |
| 26 | method_description: "" |
| 27 | supported_platforms: |
| 28 | include: [] |
| 29 | exclude: [] |
| 30 | multi_instance: true |
| 31 | additional_permissions: |
| 32 | description: "" |
| 33 | default_behavior: |
| 34 | auto_detection: |
| 35 | description: "" |
| 36 | limits: |
| 37 | description: "" |
| 38 | performance_impact: |
| 39 | description: "" |
| 40 | setup: |
| 41 | prerequisites: |
| 42 | list: |
| 43 | - title: Enable built-in Prometheus exporter |
| 44 | description: | |
| 45 | To enable see [Prometheus exporter](https://doc.traefik.io/traefik/observability/metrics/prometheus/) documentation. |
| 46 | configuration: |
| 47 | file: |
| 48 | name: go.d/traefik.conf |
| 49 | options: |
| 50 | description: | |
| 51 | The following options can be defined globally: update_every, autodetection_retry. |
| 52 | folding: |
| 53 | title: All options |
| 54 | enabled: true |
| 55 | list: |
| 56 | - name: update_every |
| 57 | description: Data collection interval (seconds). |
| 58 | default_value: 1 |
| 59 | required: false |
| 60 | group: Collection |
| 61 | - name: autodetection_retry |
| 62 | description: Autodetection retry interval (seconds). Set 0 to disable. |
| 63 | default_value: 0 |
| 64 | required: false |
| 65 | group: Collection |
| 66 | |
| 67 | - name: url |
| 68 | description: Target endpoint URL. |
| 69 | default_value: http://127.0.0.1:8082/metrics |
| 70 | required: true |
| 71 | group: Target |
| 72 | - name: timeout |
| 73 | description: HTTP request timeout (seconds). |
| 74 | default_value: 1 |
| 75 | required: false |
| 76 | group: Target |
| 77 | |
| 78 | - name: username |
| 79 | description: Username for Basic HTTP authentication. |
| 80 | default_value: "" |
| 81 | required: false |
| 82 | group: HTTP Auth |
| 83 | - name: password |
| 84 | description: Password for Basic HTTP authentication. |
| 85 | default_value: "" |
| 86 | required: false |
| 87 | group: HTTP Auth |
| 88 | - name: bearer_token_file |
| 89 | description: "Path to a file containing a bearer token (used for `Authorization: Bearer`)." |
| 90 | default_value: "" |
| 91 | required: false |
| 92 | group: HTTP Auth |
| 93 | |
| 94 | - name: tls_skip_verify |
| 95 | description: Skip TLS certificate and hostname verification (insecure). |
| 96 | default_value: no |
| 97 | required: false |
| 98 | group: TLS |
| 99 | - name: tls_ca |
| 100 | description: Path to CA bundle used to validate the server certificate. |
| 101 | default_value: "" |
| 102 | required: false |
| 103 | group: TLS |
| 104 | - name: tls_cert |
| 105 | description: Path to client TLS certificate (for mTLS). |
| 106 | default_value: "" |
| 107 | required: false |
| 108 | group: TLS |
| 109 | - name: tls_key |
| 110 | description: Path to client TLS private key (for mTLS). |
| 111 | default_value: "" |
| 112 | required: false |
| 113 | group: TLS |
| 114 | |
| 115 | - name: proxy_url |
| 116 | description: HTTP proxy URL. |
| 117 | default_value: "" |
| 118 | required: false |
| 119 | group: Proxy |
| 120 | - name: proxy_username |
| 121 | description: Username for proxy Basic HTTP authentication. |
| 122 | default_value: "" |
| 123 | required: false |
| 124 | group: Proxy |
| 125 | - name: proxy_password |
| 126 | description: Password for proxy Basic HTTP authentication. |
| 127 | default_value: "" |
| 128 | required: false |
| 129 | group: Proxy |
| 130 | |
| 131 | - name: method |
| 132 | description: HTTP method to use. |
| 133 | default_value: "GET" |
| 134 | required: false |
| 135 | group: Request |
| 136 | - name: body |
| 137 | description: Request body (e.g., for POST/PUT). |
| 138 | default_value: "" |
| 139 | required: false |
| 140 | group: Request |
| 141 | - name: headers |
| 142 | description: "Additional HTTP headers (one per line as key: value)." |
| 143 | default_value: "" |
| 144 | required: false |
| 145 | group: Request |
| 146 | - name: not_follow_redirects |
| 147 | description: Do not follow HTTP redirects. |
| 148 | default_value: no |
| 149 | required: false |
| 150 | group: Request |
| 151 | - name: force_http2 |
| 152 | description: Force HTTP/2 (including h2c over TCP). |
| 153 | default_value: no |
| 154 | required: false |
| 155 | group: Request |
| 156 | |
| 157 | - name: vnode |
| 158 | description: Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes). |
| 159 | default_value: "" |
| 160 | required: false |
| 161 | group: Virtual Node |
| 162 | examples: |
| 163 | folding: |
| 164 | title: Config |
| 165 | enabled: true |
| 166 | list: |
| 167 | - name: Basic |
| 168 | description: An example configuration. |
| 169 | config: | |
| 170 | jobs: |
| 171 | - name: local |
| 172 | url: http://127.0.0.1:8082/metrics |
| 173 | - name: Basic HTTP auth |
| 174 | description: Local server with basic HTTP authentication. |
| 175 | config: | |
| 176 | jobs: |
| 177 | - name: local |
| 178 | url: http://127.0.0.1:8082/metrics |
| 179 | username: foo |
| 180 | password: bar |
| 181 | - name: Multi-instance |
| 182 | description: | |
| 183 | > **Note**: When you define multiple jobs, their names must be unique. |
| 184 | |
| 185 | Local and remote instances. |
| 186 | config: | |
| 187 | jobs: |
| 188 | - name: local |
| 189 | http://127.0.0.1:8082/metrics |
| 190 | |
| 191 | - name: remote |
| 192 | http://192.0.2.0:8082/metrics |
| 193 | troubleshooting: |
| 194 | problems: |
| 195 | list: [] |
| 196 | alerts: [] |
| 197 | metrics: |
| 198 | folding: |
| 199 | title: Metrics |
| 200 | enabled: false |
| 201 | description: "" |
| 202 | availability: [] |
| 203 | scopes: |
| 204 | - name: entrypoint, protocol |
| 205 | description: These metrics refer to the endpoint. |
| 206 | labels: [] |
| 207 | metrics: |
| 208 | - name: traefik.entrypoint_requests |
| 209 | description: Processed HTTP requests |
| 210 | unit: requests/s |
| 211 | chart_type: stacked |
| 212 | dimensions: |
| 213 | - name: 1xx |
| 214 | - name: 2xx |
| 215 | - name: 3xx |
| 216 | - name: 4xx |
| 217 | - name: 5xx |
| 218 | - name: traefik.entrypoint_request_duration_average |
| 219 | description: Average HTTP request processing time |
| 220 | unit: milliseconds |
| 221 | chart_type: stacked |
| 222 | dimensions: |
| 223 | - name: 1xx |
| 224 | - name: 2xx |
| 225 | - name: 3xx |
| 226 | - name: 4xx |
| 227 | - name: 5xx |
| 228 | - name: traefik.entrypoint_open_connections |
| 229 | description: Open connections |
| 230 | unit: connections |
| 231 | chart_type: stacked |
| 232 | dimensions: |
| 233 | - name: a dimension per HTTP method |