Update documentation (Windows.plugin) (#20864)
thiagoftsm committed
Aug 20, 2025 at 15:49 UTC
6c40c1fdad80f4fb432eaba03bdb66d0b8d6a1bf
2 files changed
+6
-6
src/collectors/windows.plugin/metadata.yaml
+2
-2
@@ -2175,13 +2175,13 @@ modules:
2175
- name: life_expectancy
2176
- name: mssql.instance_bufman_lazy_write
2177
description: Buffers written by buffer manager's lazy writer
2178
- unit: Lazy writes/sec
2178
+ unit: writes/s
2179
chart_type: line
2180
dimensions:
2181
- name: lazy_write
2182
- name: mssql.instance_bufman_page_lookups
2183
description: Requests to find a page in the buffer pool.
2184
- unit: Page lookups/sec
2184
+ unit: lookups/s
2185
chart_type: line
2186
dimensions:
2187
- name: page_lookups
src/collectors/windows.plugin/perflib-mssql.c
+4
-4
@@ -2047,7 +2047,7 @@ void mssql_buffman_lazy_write_chart(struct mssql_db_instance *mdi, struct mssql_
2047
"buffer cache",
2048
"mssql.instance_bufman_lazy_write",
2049
"Buffers written by buffer manager's lazy writer",
2050
- "Lazy writes/sec",
2050
+ "writes/s",
2051
PLUGIN_WINDOWS_NAME,
2052
"PerflibMSSQL",
2053
PRIO_MSSQL_BUFF_LAZY_WRITE,
@@ -2055,7 +2055,7 @@ void mssql_buffman_lazy_write_chart(struct mssql_db_instance *mdi, struct mssql_
2055
RRDSET_TYPE_LINE);
2056
2057
mdi->rd_buff_lazy_write = rrddim_add(
2058
- mdi->st_buff_lazy_write, "lazy_write", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
2058
+ mdi->st_buff_lazy_write, "writes", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
2059
2060
rrdlabels_add(
2061
mdi->st_buff_lazy_write->rrdlabels, "mssql_instance", mi->instanceID, RRDLABEL_SRC_AUTO);
@@ -2080,7 +2080,7 @@ void mssql_buffman_page_lookups_chart(struct mssql_db_instance *mdi, struct mssq
2080
"buffer cache",
2081
"mssql.instance_bufman_page_lookups",
2082
"Requests to find a page in the buffer pool.",
2083
- "Page lookups/sec",
2083
+ "lookups/s",
2084
PLUGIN_WINDOWS_NAME,
2085
"PerflibMSSQL",
2086
PRIO_MSSQL_BUFF_PAGE_LOOKUPS,
@@ -2088,7 +2088,7 @@ void mssql_buffman_page_lookups_chart(struct mssql_db_instance *mdi, struct mssq
2088
RRDSET_TYPE_LINE);
2089
2090
mdi->rd_buff_page_lookups = rrddim_add(
2091
- mdi->st_buff_page_lookups, "page_lookups", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
2091
+ mdi->st_buff_page_lookups, "lookups", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
2092
2093
rrdlabels_add(
2094
mdi->st_buff_page_lookups->rrdlabels, "mssql_instance", mi->instanceID, RRDLABEL_SRC_AUTO);