I have set retention policy as 10s:1d 1m:7d 15m:1y. But using this when I try to get one month data nothing is shown on graphite. Only last 24 hrs of data is shown.
I tried to change retention policy to 1m:31d,15m:1y,1h:5y and running whisper-resize.py with --xFilesFactor=0.0 but no luck. I have also restarted carbon-cache.py.
Also after this change, I checked count.wsd file using whisper-info for older dates but it shows None. Using whisper-dump it shows 0 for old dates.
Am I missing something?
Thanks
It was due to /opt/graphite/conf/storage-aggregation.conf not present. I looked in carbon logs it was showing /
opt/graphite/conf/storage-aggregation.conf not found, ignoring
I guess old data is not available now. :(
After enabling this also, data was retained in graphite more than 24 hrs. After digging more it turns out that datapoints required for aggregation were less. So I changed xFilesFactor=0.0 and resized whisper files again..
Now it is retaining old data points as well.
Related
Using the end point
GET /workspaces/{workspaceId}/user/{userId}/time-entries
I'm only able to retrieve time entries for a user going back about 14 days.
Am I able to retrieve older entries through the API?
I have tried the API using no start time, and using a start time 30 days ago and there are no results older than 2019-08-16T19:00:00Z (today is 2019-08-28)
I also tried emailing support#clockify.me and they told me to create an issue here.
I expected to be able to retrieve more than the last two weeks worth of entries.
Jovana from Clockify Support got back to me and the issue was default page size was too small. I added the parameter pageSize=10000 to allow me to retrieve more than a few days worth of entries.
Example
https://api.clockify.me/api/v1/workspaces/{0}/user/{1}/time-entries?page-size=10000
I have an SLK stack on windows 10, running kibana 4.5.1, Elasticsearch 2.3.3 and logstash 2.3.2 and timelion (i cant find the version).
I have been experiencing some odd behavior.
I am collecting "stats" on a date field from solr, when viewing this data in timelion and the date range is less than or equal to 150 minutes then no data is displayed. When using kibana vanilla this data is present for all sizes of date range and the data was displayed fine. If I use data from a different logstash instance then it works fine. The 2 logstash instances are identical other than the urls being polled and they have both been restarted to see if that effected anything.
Can anyone give me a reason why looking at data from this one instance's data to not display if using a data range of less than 150 minutes?
I have found out why its doing this, the buckets were smaller than 1/2 the interval of collecting the data therefore there were 2 adjacent buckets without any data. I am unsure as to why this breaks things but oh well.
Graphite intermittently displays cached (old) data and current data if I continuously update it.
Here's what I'm doing:
First I setup a graph to show the last 15 minutes, then continuously hit the "Update Graph" button on the Graphite Composer window. When I do this, I notice some odd behavior:
The graph is drawn with data points going up to the current time X. (Good)
After hitting refresh several times, the graph updates to show points going up to X + 1. (Good)
I continue to hit update and graph reverts back to the view from step 1. (Bad)
Eventually the graph updates correctly and steps forward again, showing all the data.
I found that if I set DEFAULT_CACHE_DURATION inside local_settings.py to 1, this fixes the problem. So I know this issue is related to caching.
But I'm still confused: Why does Graphite sometimes show me old cached data, and sometimes show me current data? It seems like Graphite should eithe show me cached data, or current data. It should never show me current data...then old cached data.
Feel like I'm missing something.
I'm hesitant to set the DEFAULT_CACHE_DURATION to 1, since this seems like a kludge. Any idea how to troubleshoot this further?
I have discovered Kibana last week, I find this tool very useful but.. I can't help but wonder how can I bypass Kibana's limitation to one time range for whole dashboard (https://github.com/elastic/kibana/issues/3578)?
I need to present data for different time ranges on one page. It will include pie charts, data tables etc..
Unfortunately, you can't do that without changing Kibana's code to create a solution of your own.
Here is the github issue tracking the request:
https://github.com/elastic/kibana/issues/3578
I set up a new Universal Analytics property about 1 hour ago and added the code to my page. Everything looks fine and the same code is working well on other pages.
However, I cannot see any real-time data in the reports. If I only change the property ID in my code an leave everything else the same real-time data immediately shows up.
Does it take some time and if so how much until a property starts collecting data?
Well then ... it just started reporting data. Hope this post at least helps some others while being too impatient.
Took about 60 Minutes until it started to collect data.
If you have correctly installed the tracking snippet, collection will start immediately and you can verify in real time reports, assuming you are not filtering your own visits. Data won't appear in standard reports, however, for up to 24 hours (and you could even get data in as short as 1 hour as you have observed).