Grafana add annotation1/30/2024 ![]() ![]() To view multiple time series plotted on the same graph, use wildcards in your search to return all of the matching time series in one query.įor example, to see how the CPU is being utilized on a machine, you can create a graph and use the single query cpu.percent.*.g to retrieve all time series that match that pattern. If you add a second query to a graph, you can reference the first query by entering #A. You can reference a query by the “letter” of its row, similar to a spreadsheet. To help reduce the results, start by filtering on a particular name or namespace. ![]() Note: The regular expression search can be slow on high-cardinality tags, so try to use other tags to reduce the scope first. To control how Graphite consolidates metrics, use the Graphite consolidateBy() function. Grafana consolidates all Graphite metrics so that Graphite doesn’t return more data points than there are pixels in the graph.īy default, Grafana consolidates data points using the avg function. Use alias functions, such as aliasByNode() or aliasSub(), to change metric names on Grafana tables or graphs. Modify the metric name in my tables or charts To avoid this and consistently order labels by name, use the sortByName() function. If you have the same labels on multiple graphs, they are both sorted differently and use different colors. To learn more, refer to Graphite’s documentation on functions. To remove the second optional parameter, click on it and leave it blank and the editor will remove it. To add an argument, hover your mouse over the first argument and then click the + symbol that appears. Some functions like aliasByNode support an optional second argument. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |