Skip to content

Commit

Permalink
fix: Correct parameters names in prometheus destination
Browse files Browse the repository at this point in the history
  • Loading branch information
roda82 committed Jul 17, 2024
1 parent 21c0790 commit 98d9712
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/database/sources_destinations.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ The list of accepted parameters are:
|`uri` | string | `u` | `127.0.0.1` | No | The IP address of your Prometheus instance |
|`port` | int | `p` | N/A | Yes | The port of communication |
|`tags` | string | `t` | N/A | No | List of metadata keys of the report separated by `,` that will be kept. `sensor` and `target` are always kept as report metadata |
|`metric_name` | string | `M` | N/A | Yes | The exposed metric name |
|`metric_description` | string | `d` | `"energy consumption"` | No | The exposed metric description |
|`metric-name` | string | `M` | N/A | Yes | The exposed metric name |
|`metric-description` | string | `d` | `"energy consumption"` | No | The exposed metric description |
|`name` | string | `n` | `"pusher_prom"` | No | The related pusher name |
|`model` | string | `m` | `"PowerReport"` | No | The Report type exposed by Prometheus |

Expand All @@ -203,6 +203,6 @@ Below you find an example of configuration excerpt for this kind of Destination.
"type": "prometheus",
"uri": "127.0.0.1",
"port": 8080,
"metric_name": test
"metric-name": "test"
}
```

0 comments on commit 98d9712

Please sign in to comment.