I have the following retention rule set up in my storage-schemas.conf file.
retentions = 1s:5m,1m:1d,15m:90d,1d:10y
My storage aggregation looks like this:
[default]
pattern = .*
xFilesFactor = 0
aggregationMethod = sum
Problem: Any graph rendered from the second retention archive (1m:1d) has Y axis labels at 33% of the correct value. In all other ways the graph is rendered correctly. When I increase the time period to over 24 hours the Y axis labels show correctly.
When I show the same graphs using graphlot instead of graphite the Y axis renders correctly. (except I really prefer the look/feel of graphite to graphlot)
I'm thinking this is a graphite rendering bug. Is there a workaround?
I think that this can happen from several reasons:
1) After you edited the storage aggreagation , did you delete the relevant whisper files?
Notice that if you didn't, then it is still working with the default configuration - which means it uses the average method for the aggregation. In this case you'll have to delete your whisper files and check it again.
By the way you can validate each wsp file current aggregation using the whisper-info file:
whisper-info.py your_metric_file_name.wsp
2) If you try to get the data points via the render API with JSON format for example, is it works correctly?
https://graphite.readthedocs.org/en/latest/render_api.html
If it indeed works correctly then the problem is probably with the web-app rendering. I've bumped with this issue and I solved it by using the minXStep property.
See my question + answer over here: Graphite - Multi archives level retrieval issue
Related
I have an application that dumps statistics once every minute into ElasticSearch. Using Kibana, I've created a lens to visualize the values over time. All good.
Occasionally, the application skips a dump (which is a separate issue I'll be working on), so I may have occasional missing values. In the Lens, the Line chart breaks the line when a value is missing for a certain time (see screenshot).
How can I interpolate between the available values and show a continuous line instead?
EDIT
To make it clear, I'm asking how to fix the chart in the Lens. The issue of skipped dumps is a separate one and needs to be addressed separately. I may still have some missing values (unlikely but not impossible), and I would like my Lens to show a continuous chart anyway.
UPDATE
While I found the "Missing values" setting in "Visual Options" and I set it to "Linear", the interpolation is rendered with a dashed line. How can I make it the same as the main line?
I'm working on an application that get values from different cryptocurrency exchanges and I'm trying to plot that values on Kibana (V 7.12.1) to visually compare the oscillations, everything is working fine (I think), the main application is getting the values from the exchanges and sending to ElasticSearch (V 7.12.1) and I can see the values on Kibana/Discover. I don't have much experience on ElasticSearch/Kibana.
So, in Kibana, I created a new dashboard with a Lens panel, I added the DateTime field to X-axis, ask price and bid price to Y-axis and the exchange name as a break down. The plot looks nice as you can see:
The problem is, at this moment, the values are between 42940 and 43080, a very small difference comparing to the total size of the Y-axis and I can not adjust the Y-axis to get a small window to only see the values of interest.
I don't need different scales to each line, in really it must be the same scale. And values will change over the time, so, the value window will change in size too.
Thanks in advance.
Update:
I did all the same tests on ElasticSearch 7.16.3 and Kibana 7.16.3 and I got exact the same results.
Finally I found it.
There is an Up-Down button to set up the Y-axis, clicking on that button we get the window "Left axis". In that window, the field "Bounds" does this adjust.
Full: to see all the graph;
Data bounds: to automatically adjust the zoom;
Custom: to insert your own limits;
I'm using resourceDayGrid for recreation functionality of grid previously used:
previous grid.
In resourceDayGrid - day headers are displayed under resources (as columns):
current resourceDayGrid
Is there any property/configuration changing day header display position to vertical (rows)?
No there isn't.
The closest you could get to your original grid is the timeline view which splits the dates/times and the resources onto separate axes, but it's always arranged so that resources are on the Y axis and times/dates on the X axis - i.e. the reverse of your previous arrangement. But the effect is similar.
There is a demo here showing the day/week/month versions of the timeline so you can get a idea how it looks. There are some things you can configure, but flipping the axes isn't one of them unfortunately.
You could check if anyone has requested this feature in fullCalendar, and vote for it, or request it yourself - see here for details.
I use Highcharts for my ThingSpeak IoT project.
All is fine except these things, which just makes me angry (I cannot find a solution on my own... I have been trying with my frind Google for last 3 days without any success).
Here is my project page: http://net.cekuj.net/
There are my issues:
1) I cannot see the most top number next to the Y axes (I can see only the tick, not the number - if you check browser console, it is there but it has wrong X and Y coordinates)
2) I cannot align "tick mark" for all Y axes according to the manual - I would like to align them "on" mark, but now there are still "between"... and yes I use added a var for this :(
3) I would like to use decimalplace setting independently for every series of data - for example - Temperature will have 1 decimal place, humidex will have 0 decimal place etc. is that possible?
4) I added major ticks, but no succes with adding minor ticks :(
I would be really happy if any of these 4 issues would be solved, thank you for your help and time!
EDIT:
Also autorefresh is not working, but it seems to be because of wrong URL pattern, will be fixed later :)
Try to set the yAxis.showLastLabel options to true
Demo: https://jsfiddle.net/BlackLabel/hqv97ws0/
yAxis: {
showLastLabel: true,
},
API: https://api.highcharts.com/highstock/yAxis.showLastLabel
You can set how many decimal values should be shown in the tooltip for each series:
API: https://api.highcharts.com/highcharts/series.line.tooltip.valueDecimals
I don't understand here - could you reproduce this issue as a really simple chart with sample data? You can use the above demo.
That's weird, ticks should be applied with setting the yAxis.minorTicks to true. Could you reproduce this issue also?
Demo: https://jsfiddle.net/BlackLabel/dLy6x59q/
I use Jenkins and its Plot Plugin to generate statistics.
Example:
For every Build I plot the line of codes. Lets say I have like 500.000 lines and it changes about +-100 lines per build.
Since the plot y-axis always starts with 0 the whole plot is meaningless. It looks like 1 straight line.
Same goes for other metrics, if the value is too high.
Question: is there any configuration to set minimum y-axes to the minimum value?
Unfortunately, I think the answer to your question is currently 'no'.
First of all, the documentation does not give any hints towards such an option.
Secondly, Given that the Jenkins Plot Plugin uses JFreeChart for the plotting, the setting of a range for the Y-axis should be done using the 'getRangeAxis' function. A search in the source-code does not reveal a call to this function.
Lastly, you do not seem to be the only one that has this problem. Issue JENKINS-2841 asks for the same functionality, but appears not be solved yet.