Files
windows_exporter/collector
Ben Reedy 1d3af58305 fix: Ignore duplicate IIS entries from Perflib
Perflib often exposes duplicate IIS entries, suffixed with '#' and a
number (I.E. iis_site_name#1).
These duplicate entries were causing the exporter to fail scraping due
to duplicate metrics.

Based on user feedback, the entry with the highest suffix
value is kept, with other duplicate entries discarded.

E.G. Given the following list of site names, "Site_B" would be
discarded, and "Site_B#2" would be kept and presented as "Site_B" in the
collector metrics.
[ "Site_A", "Site_B", "Site_C", "Site_B#2" ]

Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-05-07 20:12:32 +10:00
..
2022-01-02 01:24:11 -05:00
2021-04-01 22:28:54 +10:00
2023-04-17 13:22:36 +02:00
2021-04-01 22:28:54 +10:00
2023-04-17 13:22:36 +02:00
2023-01-12 17:08:59 -05:00
2023-04-17 13:22:36 +02:00
2023-04-17 13:22:36 +02:00
2023-04-17 13:22:36 +02:00
2023-04-17 13:22:36 +02:00
2023-04-17 13:22:36 +02:00
2023-04-17 13:22:36 +02:00
2021-04-01 22:28:54 +10:00