Skip to content

Commit

Permalink
Fix GraphiteBridge example again.
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Wilder <me@partcyb.org>
  • Loading branch information
partcyborg committed Feb 4, 2021
1 parent d1f3647 commit 7f83b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ Graphite [tags](https://grafana.com/blog/2018/01/11/graphite-1.1-teaching-an-old
```python
from prometheus_client.bridge.graphite import GraphiteBridge

gb = GraphiteBridge(('graphite.your.org', 2003, tags=True))
gb = GraphiteBridge(('graphite.your.org', 2003), tags=True)
c = Counter('my_requests_total', 'HTTP Failures', ['method', 'endpoint'])
c.labels('get', '/').inc()
gb.push()
Expand Down

0 comments on commit 7f83b9e

Please sign in to comment.