| 1 | # Config file for prometheus-nextcloud-exporter in YAML format |
| 2 | |
| 3 | # URL to Nextcloud server. |
| 4 | server: "https://cloud.example.org" |
| 5 | |
| 6 | # Required for token authentication |
| 7 | # authToken: "example-token" |
| 8 | # The token can also be read from a file. |
| 9 | # authToken: @/path/to/tokenfile |
| 10 | |
| 11 | # Required for username/password authentication. |
| 12 | username: "example" |
| 13 | password: "example" |
| 14 | # The password can also be read from a file. |
| 15 | # password: @/path/to/passwordfile |
| 16 | |
| 17 | # Optional settings |
| 18 | |
| 19 | # Address to listen on for connections. (default ":9205") |
| 20 | # listenAddress: ":9205" |
| 21 | |
| 22 | # Timeout for getting server info document. (default 5s) |
| 23 | # timeout: "5s" |
| 24 | |
| 25 | # Skip certificate verification of Nextcloud server. |
| 26 | # tlsSkipVerify: false |
| 27 | |
| 28 | # info: |
| 29 | # Enable gathering of apps-related metrics. |
| 30 | # apps: false |
| 31 | |
| 32 | # Enable gathering of system update-related metrics. |
| 33 | # update: false |