graphite precision less than 1 minutes in centOS7: what am I missing?
NickName:cr001 Ask DateTime:2022-07-16T18:59:10

graphite precision less than 1 minutes in centOS7: what am I missing?

I followed the accepted answer in this post: Graphite - render precision lower than 1 minute

but still couldn't get graphite to give a 5-second precision time period.

I am using centOS 7 and here are my configurations that I have added/changed:

#/etc/graphite-web/local_settings.py
...
DEFAULT_CACHE_DURATION = 5
...
# /etc/carbon/storage-schemas.conf
...
[statsd]
pattern = ^stats\.
retentions = 5s:30d
...

statsd is flushing every 5 seconds correctly according to the following settings.

# statsd config.js
{
  graphitePort: 2003
, graphiteHost: "127.0.0.1"
, port: 8125
, backends: [ "./backends/graphite" ]
, graphite: {
    legacyNamespace: false
    }
, flushInterval: 5000
}

I have also executed the restart commands:

sudo systemctl restart carbon-cache
sudo systemctl restart statsd

Copyright Notice:Content Author:「cr001」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/73003602/graphite-precision-less-than-1-minutes-in-centos7-what-am-i-missing

More about “graphite precision less than 1 minutes in centOS7: what am I missing?” related questions

graphite precision less than 1 minutes in centOS7: what am I missing?

I followed the accepted answer in this post: Graphite - render precision lower than 1 minute but still couldn't get graphite to give a 5-second precision time period. I am using centOS 7 and here a...

Show Detail

Graphite - render precision lower than 1 minute

I'm trying to get arroud with Graphite. I have problem getting graph render precision lower that minute. I already set refresh time to 1 second, display time to relateive -5 minutes and retention t...

Show Detail

How to alert in Seyren with Graphite if transactions in last 60 minutes are less than x?

I'm using Graphite+Statsd (with Python client) to collect custom metrics from a webapp: a counter for successful transactions. Let's say the counter is stats.transactions.count, that also has a rat...

Show Detail

Graphite: time per point precision

Is it possibile to store time per point with millisecond precision? Since Graphite is based on Whisper I've took a look at whisper.py file. It contains: UnitMultipliers = { 's' : 1, 'm' : ...

Show Detail

What am I missing to get the minutes?

Okay, so I think I'm just overthinking this way too much. The rest of the code is how I want it (it does what I want it to do), but I can't seem to figure out how to get the minutes calculated. So

Show Detail

Graphite Aggregate data for less than a second interval

I am using graphite to display our application transaction stats. The txns are generated at around 20 per second and is processed and pushed to graphite. So there are more than one data point per s...

Show Detail

Why is sum of series coming as fractional and less than the actual values in graphite

I am creating a dashboard using metrics in graphite. I have tried consolidatedBy to get all the metrics. The metric values looks correct and are of the range of 1000s. The graphite query for the s...

Show Detail

Graphite / Graphiti-esque tool with millisecond precision, optional aggregation

I need a timeseries datastore and visualization platform where I can dump experiment data into hierarchical namespaces and then go back later for analysis. Saving graph templates, linking to graphs...

Show Detail

How to check if event is less than 30 minutes?

I am creating an events. I want to check if the event is less than 30 minutes. I don't want to allow user to add the event if it is less than 30 minutes. I am storing the time in date format. Date

Show Detail

Pad zeros if precision value less than scale

If i divide 1.0f/2.0f , the value is 0.5 . I wanted to have a precision value of 5 (0.50000). Used BigDecimal to set the scale to 5 but still the value is printed as 0.5 BigDecimal val = new

Show Detail