{"id":21398,"library":"graphitesend","title":"graphitesend","description":"A simple interface for sending metrics to Graphite. Provides an easy-to-use Python client for Graphite's plaintext protocol. Current version 0.10.0, released 2016, in maintenance mode.","status":"maintenance","version":"0.10.0","language":"python","source_language":"en","source_url":"https://github.com/daniellawrence/graphitesend","tags":["graphite","metrics","monitoring","plaintext"],"install":[{"cmd":"pip install graphitesend","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"GraphiteClient","correct":"from graphitesend import GraphiteClient"}],"quickstart":{"code":"from graphitesend import GraphiteClient\ng = GraphiteClient(graphite_server='localhost', prefix='test')\ng.send('metric.name', 42)","lang":"python","description":"Initialize client and send a metric."},"warnings":[{"fix":"Initialize with `GraphiteClient(..., send_type='tcp')`","message":"By default, graphitesend sends metrics over UDP, which has no delivery guarantee. Use `send_type='tcp'` for reliable delivery.","severity":"gotcha","affected_versions":"all"},{"fix":"Sanitize metric names (replace spaces, special characters) before sending.","message":"The library does not validate the metric name or value format; invalid characters may cause Graphite to reject the metric.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `graphitesend` with Graphite's pickle format via `format='pickle'` or migrate to newer libraries like `graphiteclient` or `datadog`.","message":"Graphite's plaintext protocol is being phased out; consider using Graphite's pickle protocol or HTTP API.","severity":"deprecated","affected_versions":">=0.10.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use `from graphitesend import GraphiteClient` instead of `import graphitesend` and accessing `graphitesend.graphite`.","cause":"Using wrong import or outdated API referencing 'graphite' object.","error":"AttributeError: module 'graphitesend' has no attribute 'graphite'"},{"fix":"Check the hostname and network connectivity. Use an IP address if DNS is unavailable.","cause":"The graphite_server hostname cannot be resolved.","error":"socket.gaierror: [Errno -2] Name or service not known"},{"fix":"Ensure all arguments are passed as keyword arguments to GraphiteClient.","cause":"Misconfigured tuple format when using non-standard settings.","error":"ValueError: too many values to unpack (expected 2)"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}