Skip to content

Commit 8986651

Browse files
authored
Merge pull request #170 from prometheus/mr/python-client-push
Document incompatibility with Graphite bridge
2 parents df6443c + 88f317b commit 8986651

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,7 @@ docker run -d -p 9108:9108 -p 9109:9109 -p 9109:9109/udp \
149149
prom/graphite-exporter --graphite.mapping-config=/tmp/graphite_mapping.conf
150150
```
151151

152-
## Importing Whisper data
153-
154-
**EXPERIMENTAL**
152+
## **Experimental**: Importing Whisper data
155153

156154
Import data from Graphite using the bundled `getool`.
157155
See `getool create-blocks --help` for usage.
@@ -161,6 +159,17 @@ The `--block-duration` must be a power of two in hours, e.g. `4h`, `8h`, and so
161159

162160
To merge the data into an existing Prometheus storage directory, start Prometheus with the `--storage.tsdb.allow-overlapping-blocks` flag.
163161

162+
## Incompatibility with Graphite bridge
163+
164+
This exporter does not work in combination with the [Java client](https://prometheus.github.io/client_java/io/prometheus/client/bridge/Graphite.html) or [Python client](https://github.com/prometheus/client_python#graphite) Graphite bridge.
165+
In the transition to the Graphite data model and back, information is lost.
166+
Additionally, default metrics conflict between the client libraries and the exporter.
167+
168+
Instead, configure Prometheus to scrape your application directly, without the exporter in the middle.
169+
For batch or ephemeral jobs, use the [pushgateway](https://prometheus.io/docs/practices/pushing/) [integration](https://github.com/prometheus/client_python#exporting-to-a-pushgateway).
170+
If you absolutely must push, consider [PushProx](https://github.com/prometheus-community/PushProx) or the [Grafana agent](https://github.com/grafana/agent) instead.
171+
172+
164173
[circleci]: https://circleci.com/gh/prometheus/graphite_exporter
165174
[hub]: https://hub.docker.com/r/prom/graphite-exporter/
166175
[travis]: https://travis-ci.org/prometheus/graphite_exporter

0 commit comments

Comments
 (0)