How to write time series data with asgraphite on an existing graphite server?

Using this documentation , I understand that I can log a nonce like this -

python /opt/aerospike/bin/asgraphite -l 'latency:' --start -g <graphite_host> -p <graphite_port>

      

Where will be the details of the already running graphite server, which we have.

But how do I specify the namespace I want to enter? The graphite server already has several namespaces in which data is registered.

Also, does the daemon initiated by such a command support logging at specified intervals? Or do I need to configure cron for the same?

+3


source to share


1 answer


An updated version and documentation for the python asgraphite script can be found here.

https://github.com/aerospike/aerospike-graphite

You can use --interval to specify the preset interval for reports for the graphite server.

- GRAPHITE_INTERVAL interval How often metrics are sent to graphite (in seconds)



Also you can get all namespaces and sets using the following parameters (I don't believe you can only specify one namespace, all namespaces will be sent .:

-n, --namespace Get all namespace statistics
-s, -sets Collect statistics based on a set

You also have the option to use a prefix. Default prefix: instance.aerospike.

- GRAPHITE_PREFIX prefix The prefix used when sending metrics to the Graphite server (default: instance.aerospike.)

+3


source







All Articles