]> git.ipfire.org Git - people/ms/telemetry.git/commitdiff
unbound: Rename the queries graph to "Cache Performance"
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Nov 2025 12:28:26 +0000 (12:28 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Nov 2025 12:28:26 +0000 (12:28 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/graphs.c
src/daemon/graphs/unbound.c
src/daemon/graphs/unbound.h

index d7fd551c215b51a20d313dc99414b4fb8f5331ea..37242c617bf58c342fac29fc0dcfca487dd54b25 100644 (file)
@@ -69,7 +69,7 @@ static const td_graph_impl* graph_impls[] = {
        &pressure_memory_graph,
 
        // Unbound
-       &unbound_queries_graph,
+       &unbound_cache_performance_graph,
        &unbound_recursion_time_graph,
 
        // Legacy
index 7608fd7e155cb2ac1a449739cf9a4782c2922cd1..ef8aa45b8b589e06deeb552aabab3d01cf8c077d 100644 (file)
 #include "graph.h"
 #include "unbound.h"
 
-static int unbound_queries_title(td_ctx* ctx, td_graph* graph,
+static int unbound_cache_performance_title(td_ctx* ctx, td_graph* graph,
                const char* object, char* title, size_t length) {
-       return __td_string_set(title, length, _("DNS Queries"));
+       return __td_string_set(title, length, _("DNS Cache Performance"));
 }
 
-static int unbound_queries_render(td_ctx* ctx, td_graph* graph,
+static int unbound_cache_performance_render(td_ctx* ctx, td_graph* graph,
                const td_graph_render_options* options, td_args* args, const char* object) {
        int r;
 
@@ -62,10 +62,10 @@ static int unbound_queries_render(td_ctx* ctx, td_graph* graph,
        return 0;
 }
 
-const td_graph_impl unbound_queries_graph = {
-       .name    = "UnboundQueries",
-       .render  = unbound_queries_render,
-       .title   = unbound_queries_title,
+const td_graph_impl unbound_cache_performance_graph = {
+       .name    = "UnboundCachePerformance",
+       .render  = unbound_cache_performance_render,
+       .title   = unbound_cache_performance_title,
        .vlabel  = td_graph_vlabel_qps,
 
        // Limits
index 39573af77b93a6ee5ce9d620b3d0ea7c5819073a..54f10fcb21a9f8412915d07b26a2d6a203103b19 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "../graph.h"
 
-extern const td_graph_impl unbound_queries_graph;
+extern const td_graph_impl unbound_cache_performance_graph;
 extern const td_graph_impl unbound_recursion_time_graph;
 
 #endif /* TELEMETRY_GRAPH_UNBOUND_H */