Steffen Higel
7086e0f627
Add a cpu_info collector
...
The cpu_info collector exposes a single metric per socket with some
information on installed CPUs, somewhat like the node_cpu_info metric
Signed-off-by: Steffen Higel <higels@valvesoftware.com>
2021-02-15 17:13:58 -08:00
Bill Bagdon
682378e170
Add docs
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-02-12 18:13:04 +10:00
Bagdon, Bill
c1fff498c6
Create cache collector
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-02-12 18:13:01 +10:00
Ben Reedy
648b6e0ab5
Merge pull request #719 from breed808/dfsr_unique_metric_names
...
Ensure dfsr collector metric names are unique
2021-02-09 21:36:49 +10:00
Ben Reedy
e9abe4d5f5
Ensure dfsr collector metric names are unique
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-02-08 09:38:29 +10:00
Ben Reedy
0af38ddbcf
Merge pull request #716 from jsturtevant/add-containerd-support
...
Set container collector prefix based on owner property
2021-02-05 07:39:51 +10:00
James Sturtevant
b615301efc
set prefix based on owner property
...
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2021-02-04 09:41:59 -08:00
Ben Reedy
25eb64bb3d
Merge pull request #717 from jsturtevant/patch-1
...
Use correct metric name for windows_net_packets_outbound_discarded
2021-02-03 07:12:13 +10:00
James Sturtevant
19fbd57f60
Use correct metric name
...
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2021-02-02 11:47:20 -08:00
Ben Reedy
b9b60f1ea0
Merge pull request #710 from breed808/dfsr_descriptions
...
Add missing dfsr metric descriptions
2021-02-02 13:45:37 +10:00
Calle Pettersson
eaa003f5af
Add gokit adapter to make https toolkit work
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2021-01-30 11:53:51 +01:00
Calle Pettersson
c5a545540d
Take over prometheus/common/log into local log package
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2021-01-30 11:53:51 +01:00
Calle Pettersson
054cf5c5f5
Include log from prometheus/common/log
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2021-01-30 11:53:51 +01:00
Ben Kochie
cdc81b03d5
Add HTTPS configuration
...
Add the exporter-toolkit https package to allow configuring TLS and
auth.
Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2021-01-30 11:53:51 +01:00
Ben Reedy
e141e531ed
Remove unused dfsr meta metrics and function
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-01-30 18:56:45 +10:00
Ben Reedy
b44d855fe0
Add missing dfsr metric descriptions
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-01-30 17:10:37 +10:00
Ben Reedy
4b66473d2e
Merge pull request #706 from breed808/284
...
Remove "total" suffix from dns_memory_used_bytes
2021-01-30 14:39:59 +10:00
Ben Reedy
556138189a
Remove "total" suffix from dns_memory_used_bytes
...
Metric is a gauge and therefore should not have the "total" suffix.
2021-01-27 07:24:23 +10:00
Ben Reedy
7456afecae
Merge pull request #689 from breed808/time_doc
...
Document version requirement for time collector
2021-01-22 17:58:29 +10:00
Ben Reedy
8407f4aeb8
Document version requirement for time collector
...
Windows Server 2016 or newer is required for the collector, as the
perflib counters were not exposed in previous versions.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-01-17 10:57:51 +10:00
Ben Reedy
6b8e9bee3f
Merge pull request #699 from prometheus-community/repo_sync
...
Synchronize common files from prometheus/prometheus
2021-01-17 10:44:12 +10:00
prombot
eb15f8ee80
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-01-17 00:06:11 +00:00
Ben Reedy
2c7bea1892
Merge pull request #691 from breed808/mssql_label
...
Rename mssql instance label to mssql_instance
2021-01-14 21:12:28 +10:00
Ben Reedy
59ba77b87f
Rename mssql instance label to mssql_instance
...
Instance label is conflicting with default Prometheus "instance" label
which is added when scraping targets.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-31 09:36:36 +10:00
Ben Reedy
9723aa2218
Merge pull request #671 from breed808/dfsr
...
Add DFSR collector
2020-12-20 12:26:12 +10:00
Ben Reedy
9d03debcb6
Add experimental notice to dfsr collector
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-20 12:10:38 +10:00
Ben Reedy
2837bdfb50
Add/move DFSR metric units to end of metric name
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-09 19:55:14 +10:00
Ben Reedy
a1a986f4d0
Reset mssql child failure counter on each scrape
...
Resolves issue where collector would always return a failure after an
inital failure, as the counter was not reset.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-09 19:55:14 +10:00
Ben Reedy
769b15eb86
Execute DFSR child collectors serially
...
Previous concurrent setup was not required due to speed of Perflib
collectors.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-09 19:55:13 +10:00
Ben Reedy
b5ce53fdac
Merge mssql and dfsr expandEnabledCollectors func
...
Move to common collector.go and add function test.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-09 19:55:13 +10:00
Ben Reedy
ccac306c2d
Rewrite DFSR collector to use sub collectors
...
DFSR collector now follow similar structure to the MSSQL collector,
where several 'child' collectors are run concurrently, depending on user
input from the `--collectors.dfsr.sources-enabled` flag.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-09 19:55:13 +10:00
Ben Reedy
df0618e64d
Add DFSR collectors
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-09 19:55:13 +10:00
Ben Reedy
433e00a20b
Add CI support for textfile collector
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-07 08:01:07 +10:00
Ben Reedy
e8ffeaa0d7
Add end-to-end test to Appveyor CI
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-07 08:01:07 +10:00
Ben Reedy
c93b709f96
Make build idempotent
...
Only rebuild windows_exporter.exe on changes to any Go source files.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-07 08:01:07 +10:00
Ben Reedy
b300998b4b
Add smoketest script
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-07 08:01:07 +10:00
Ben Reedy
6e0ac6a1fc
Update prometheus client library to v1.8.0
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-30 09:26:34 +10:00
Ben Reedy
ec6b7210e3
Fix network collector metric names
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-30 09:21:09 +10:00
Ben Reedy
704f6e2fe4
Fix ADFS collector metric names
...
Prometheus counters should have a '_total' suffix
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-30 09:21:09 +10:00
Calle Pettersson
7a16d111b0
Clarify supported versions of Windows
...
Installation on versions previous to Win7/Server2008R2 will now fail
Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-11-23 12:40:19 +10:00
Ben Reedy
82471f39cd
Add missing time entry in docs README
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-23 12:29:01 +10:00
Ben Reedy
23dafc93ed
Add SMTP collector
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-23 12:29:01 +10:00
Calle Pettersson
cdbb27d0b4
Fix collector flags not being registered
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2020-11-07 17:13:00 +10:00
Calle Pettersson
2fbd0464dc
Merge pull request #651 from breed808/config_files
...
Fix exporter failing to start without config flag
2020-11-07 07:25:24 +01:00
Ben Reedy
f616589c5f
Fix exporter failing to start without config flag
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-03 19:46:05 +10:00
Ben Reedy
f623c0ed89
Add unit test for config flattening functions
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-02 08:40:59 +10:00
Ben Reedy
ce5c6eed72
Add configuration file documentation
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-02 08:40:59 +10:00
Ben Reedy
d7122930d0
Flatten nested YAML data in specified config file
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-02 08:40:59 +10:00
Ben Reedy
96aa2cf095
Add initial support for YAML configuration files
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-02 08:40:59 +10:00
Ben Reedy
6231eb43e8
Use kingpin application for flags
...
Will be required to pass application object to config file functions.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-02 08:40:59 +10:00