Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing smbclient collector #1408

Merged
merged 17 commits into from
May 11, 2024

Conversation

rob-scheepens
Copy link
Contributor

This request is to implement a collector for smb-client metrics (performance object "SMB Client Shares").

…r/smbclient" in map.go

Signed-off-by: Rob Scheepens <[email protected]>

Using NewConstMetric instead of MustNewConstMetric.

Signed-off-by: Rob Scheepens <[email protected]>

Implementing constructors.

Signed-off-by: Rob Scheepens <[email protected]>

Fixing missed desc.

Signed-off-by: Rob Scheepens <[email protected]>

Implementing all Client Shares counters.

Signed-off-by: Rob Scheepens <[email protected]>

Adding smbclient in map.go

Signed-off-by: Rob Scheepens <[email protected]>

Adding "github.com/prometheus-community/windows_exporter/pkg/collector/smb"

Signed-off-by: Rob Scheepens <[email protected]>

Adding smbclient in collector.go

Signed-off-by: Rob Scheepens <[email protected]>

Fixing undefined: perflibClientShares

Signed-off-by: Rob Scheepens <[email protected]>

Fixing type *collector has no field or method AvgSecPerRead

Signed-off-by: Rob Scheepens <[email protected]>

Adding entries for config.go

Signed-off-by: Rob Scheepens <[email protected]>

Fixing ServerShares change to ClientShares

Signed-off-by: Rob Scheepens <[email protected]>

Updated prometheus metrics names and help strings.

Added "server" and "share" labels on metrics.

Renamed prometheus descriptor variables to better represent their
corresponding metric names.

Fixed some minor syntax errors in perflib metric names.
@rob-scheepens rob-scheepens requested a review from a team as a code owner February 14, 2024 06:23
.golangci.yaml Outdated Show resolved Hide resolved
docs/collector.smbclient.md Outdated Show resolved Hide resolved
docs/collector.smbclient.md Show resolved Hide resolved
pkg/collector/smbclient/smbclient.go Outdated Show resolved Hide resolved
@ballegre ballegre force-pushed the rob-smb-collector branch 4 times, most recently from 2f67a45 to 4f434ea Compare February 20, 2024 18:28
Signed-off-by: Bob Allegretti <[email protected]>
Initial updates to the markdown and does not currently reflect what is
in the code. Those changes are coming and this commit will most likely
be squashed before merge anyway.

Signed-off-by: Bob Allegretti <[email protected]>
@ballegre
Copy link
Contributor

I'm done with the code changes and testing that I can think of at this stage. This is my first contribution to a github repo. I can squash my commits to a single commit. Maybe I can squash Robs commits as well if Rob is OK with that and git will let me. Please let me know what is required or needed next. Thanks.

.golangci.yaml Outdated Show resolved Hide resolved
.golangci.yaml Outdated Show resolved Hide resolved
Signed-off-by: Jan-Otto Kröpke <[email protected]>
README.md Outdated Show resolved Hide resolved
@jkroepke
Copy link
Member

Thanks!

Signed-off-by: Jan-Otto Kröpke <[email protected]>
@jkroepke jkroepke added this to the v0.26.0 milestone May 11, 2024
@jkroepke jkroepke merged commit be25d79 into prometheus-community:master May 11, 2024
5 checks passed
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Aug 19, 2024
…rter to v0.27.1 (#34332)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus-community/windows_exporter](https://togithub.com/prometheus-community/windows_exporter)
| `v0.25.1` -> `v0.27.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus-community%2fwindows_exporter/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus-community%2fwindows_exporter/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus-community%2fwindows_exporter/v0.25.1/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus-community%2fwindows_exporter/v0.25.1/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus-community/windows_exporter
(github.com/prometheus-community/windows_exporter)</summary>

###
[`v0.27.1`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.27.1)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.27.0...v0.27.1)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🐞 Bug Fixes

- mssql: fix nil panic, if YAML file is used a configuration by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1570](https://togithub.com/prometheus-community/windows_exporter/pull/1570)

##### 🛠️ Dependencies

- chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1566](https://togithub.com/prometheus-community/windows_exporter/pull/1566)

**Full Changelog**:
prometheus-community/windows_exporter@v0.27.0...v0.27.1

###
[`v0.27.0`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.27.0)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.26.2...v0.27.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 💥 Breaking Changes

- textfile: disable collector by default by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1560](https://togithub.com/prometheus-community/windows_exporter/pull/1560)
- chore: Refactor Config Collector API by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1558](https://togithub.com/prometheus-community/windows_exporter/pull/1558)
- cleanup collector APIs 1 by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1547](https://togithub.com/prometheus-community/windows_exporter/pull/1547)

##### ✨ Exciting New Features

- chore: deprecate teradici_pcoip and vmware_blast collector by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1559](https://togithub.com/prometheus-community/windows_exporter/pull/1559)

##### 🐞 Bug Fixes

- installer: do not enable V1 counters by default by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1555](https://togithub.com/prometheus-community/windows_exporter/pull/1555)
- scheduled_task: do not report windows_scheduled_task_last_result for
task that never run before by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1562](https://togithub.com/prometheus-community/windows_exporter/pull/1562)

##### 🛠️ Dependencies

- chore(deps): bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1550](https://togithub.com/prometheus-community/windows_exporter/pull/1550)
- chore(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1549](https://togithub.com/prometheus-community/windows_exporter/pull/1549)

**Full Changelog**:
prometheus-community/windows_exporter@v0.26.2...v0.27.0

###
[`v0.26.2`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.26.2)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.26.1...v0.26.2)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🐞 Bug Fixes

- printer: expose config struct properties by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1545](https://togithub.com/prometheus-community/windows_exporter/pull/1545)
- terminal_services: Fix "The operation completed successfully." error
by [@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1548](https://togithub.com/prometheus-community/windows_exporter/pull/1548)

**Full Changelog**:
prometheus-community/windows_exporter@v0.26.1...v0.26.2

###
[`v0.26.1`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.26.1)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.26.0...v0.26.1)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🐞 Bug Fixes

- fix: CPU Collector % Cx Time mismatch by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1542](https://togithub.com/prometheus-community/windows_exporter/pull/1542)
- logical_disk: Fix failed to get disk ID for dynamic volumes by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1544](https://togithub.com/prometheus-community/windows_exporter/pull/1544)

##### 🛠️ Dependencies

- chore(deps): bump actions/stale from 8 to 9 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1541](https://togithub.com/prometheus-community/windows_exporter/pull/1541)

**Full Changelog**:
prometheus-community/windows_exporter@v0.26.0...v0.26.1

###
[`v0.26.0`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.26.0)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.25.1...v0.26.0)

#### What's Changed

-
fix([#&#8203;1390](https://togithub.com/prometheus-community/windows_exporter/issues/1390)):
global kingpin instead of app var by
[@&#8203;DiniFarb](https://togithub.com/DiniFarb) in
[https://github.com/prometheus-community/windows_exporter/pull/1397](https://togithub.com/prometheus-community/windows_exporter/pull/1397)
- docs!: Remove support for EOL Windows versions by
[@&#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1396](https://togithub.com/prometheus-community/windows_exporter/pull/1396)
- Fix collector.process.iis flag by
[@&#8203;jaco-van-zyl-derivco](https://togithub.com/jaco-van-zyl-derivco)
in
[https://github.com/prometheus-community/windows_exporter/pull/1416](https://togithub.com/prometheus-community/windows_exporter/pull/1416)
- fix: Apply query filter to metrics by
[@&#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1392](https://togithub.com/prometheus-community/windows_exporter/pull/1392)
- Restore Windows 2012 support. by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1446](https://togithub.com/prometheus-community/windows_exporter/pull/1446)
- installer: Disable Windows Firewall Exception by default. Can be
re-enabled with ADD_FIREWALL_EXCEPTION=yes by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1447](https://togithub.com/prometheus-community/windows_exporter/pull/1447)
- Improvement: Add owner_node on resource and resourcegroup for
mscluster by [@&#8203;webalexeu](https://togithub.com/webalexeu) in
[https://github.com/prometheus-community/windows_exporter/pull/1395](https://togithub.com/prometheus-community/windows_exporter/pull/1395)
- Add label volume_name to logical_disk collector by
[@&#8203;aburtasov](https://togithub.com/aburtasov) in
[https://github.com/prometheus-community/windows_exporter/pull/1442](https://togithub.com/prometheus-community/windows_exporter/pull/1442)
- Implement a Windows application manifest by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1445](https://togithub.com/prometheus-community/windows_exporter/pull/1445)
- Ability to disable debug endpoints by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1448](https://togithub.com/prometheus-community/windows_exporter/pull/1448)
- Do not add "--web.listen-address" to service if default values are
provided by [@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1452](https://togithub.com/prometheus-community/windows_exporter/pull/1452)
- iis: Add IIS info metric by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1450](https://togithub.com/prometheus-community/windows_exporter/pull/1450)
- perflib: enrich error message by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1460](https://togithub.com/prometheus-community/windows_exporter/pull/1460)
- Remove landing page by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1471](https://togithub.com/prometheus-community/windows_exporter/pull/1471)
- Remove unused `*prometheus.Desc` return value from collectors
`collect()` function by
[@&#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1475](https://togithub.com/prometheus-community/windows_exporter/pull/1475)
- Implementing smbclient collector by
[@&#8203;rob-scheepens](https://togithub.com/rob-scheepens) in
[https://github.com/prometheus-community/windows_exporter/pull/1408](https://togithub.com/prometheus-community/windows_exporter/pull/1408)
- Add: push docker images to dockerhub by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1469](https://togithub.com/prometheus-community/windows_exporter/pull/1469)
- scheduled_task: Move OLE connection to collect function by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1451](https://togithub.com/prometheus-community/windows_exporter/pull/1451)
- Enable process V1 performance counters by default by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1477](https://togithub.com/prometheus-community/windows_exporter/pull/1477)
- Add new RemoteFX network metrics by
[@&#8203;truck0321](https://togithub.com/truck0321) in
[https://github.com/prometheus-community/windows_exporter/pull/1489](https://togithub.com/prometheus-community/windows_exporter/pull/1489)
- Add Printer Exporter by
[@&#8203;soheilrt](https://togithub.com/soheilrt) in
[https://github.com/prometheus-community/windows_exporter/pull/1485](https://togithub.com/prometheus-community/windows_exporter/pull/1485)
- feat: allow setting of exporter process priority by
[@&#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1488](https://togithub.com/prometheus-community/windows_exporter/pull/1488)
- Fix omission of RemoteFX Graphics metrics by
[@&#8203;benash](https://togithub.com/benash) in
[https://github.com/prometheus-community/windows_exporter/pull/1511](https://togithub.com/prometheus-community/windows_exporter/pull/1511)
- Fix timezone caching issues by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1499](https://togithub.com/prometheus-community/windows_exporter/pull/1499)
- Service V2 collector by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1497](https://togithub.com/prometheus-community/windows_exporter/pull/1497)
- Add label user to process collector by
[@&#8203;aburtasov](https://togithub.com/aburtasov) in
[https://github.com/prometheus-community/windows_exporter/pull/1472](https://togithub.com/prometheus-community/windows_exporter/pull/1472)
- Update collector.diskdrive.md by
[@&#8203;jacbo0112](https://togithub.com/jacbo0112) in
[https://github.com/prometheus-community/windows_exporter/pull/1502](https://togithub.com/prometheus-community/windows_exporter/pull/1502)
- fix(README.md): Corrected image links by
[@&#8203;FRFlo](https://togithub.com/FRFlo) in
[https://github.com/prometheus-community/windows_exporter/pull/1533](https://togithub.com/prometheus-community/windows_exporter/pull/1533)
- Add hostprocess image builds by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1507](https://togithub.com/prometheus-community/windows_exporter/pull/1507)
- fix default value of collectors.dfsr.sources-enabled by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1506](https://togithub.com/prometheus-community/windows_exporter/pull/1506)
- logical disk: Fix metrics for non drive letter disks by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1498](https://togithub.com/prometheus-community/windows_exporter/pull/1498)
- printer collector: Use ENUM pattern for printer status by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1500](https://togithub.com/prometheus-community/windows_exporter/pull/1500)
- license collector by [@&#8203;jkroepke](https://togithub.com/jkroepke)
in
[https://github.com/prometheus-community/windows_exporter/pull/1524](https://togithub.com/prometheus-community/windows_exporter/pull/1524)
- Add terminal service session info by
[@&#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1525](https://togithub.com/prometheus-community/windows_exporter/pull/1525)

#### New Contributors

- [@&#8203;Winter-py](https://togithub.com/Winter-py) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1409](https://togithub.com/prometheus-community/windows_exporter/pull/1409)
-
[@&#8203;jaco-van-zyl-derivco](https://togithub.com/jaco-van-zyl-derivco)
made their first contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1416](https://togithub.com/prometheus-community/windows_exporter/pull/1416)
- [@&#8203;simon04](https://togithub.com/simon04) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1401](https://togithub.com/prometheus-community/windows_exporter/pull/1401)
- [@&#8203;webalexeu](https://togithub.com/webalexeu) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1395](https://togithub.com/prometheus-community/windows_exporter/pull/1395)
- [@&#8203;truck0321](https://togithub.com/truck0321) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1489](https://togithub.com/prometheus-community/windows_exporter/pull/1489)
- [@&#8203;jacbo0112](https://togithub.com/jacbo0112) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1495](https://togithub.com/prometheus-community/windows_exporter/pull/1495)
- [@&#8203;soheilrt](https://togithub.com/soheilrt) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1485](https://togithub.com/prometheus-community/windows_exporter/pull/1485)
- [@&#8203;benash](https://togithub.com/benash) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1511](https://togithub.com/prometheus-community/windows_exporter/pull/1511)
- [@&#8203;FRFlo](https://togithub.com/FRFlo) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1533](https://togithub.com/prometheus-community/windows_exporter/pull/1533)

**Full Changelog**:
prometheus-community/windows_exporter@v0.25.1...v0.26.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM4LjI2LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
f7o referenced this pull request in f7o/opentelemetry-collector-contrib Sep 12, 2024
…rter to v0.27.1 (open-telemetry#34332)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus-community/windows_exporter](https://togithub.com/prometheus-community/windows_exporter)
| `v0.25.1` -> `v0.27.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus-community%2fwindows_exporter/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus-community%2fwindows_exporter/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus-community%2fwindows_exporter/v0.25.1/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus-community%2fwindows_exporter/v0.25.1/v0.27.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus-community/windows_exporter
(github.com/prometheus-community/windows_exporter)</summary>

###
[`v0.27.1`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.27.1)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.27.0...v0.27.1)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🐞 Bug Fixes

- mssql: fix nil panic, if YAML file is used a configuration by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1570](https://togithub.com/prometheus-community/windows_exporter/pull/1570)

##### 🛠️ Dependencies

- chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1566](https://togithub.com/prometheus-community/windows_exporter/pull/1566)

**Full Changelog**:
prometheus-community/windows_exporter@v0.27.0...v0.27.1

###
[`v0.27.0`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.27.0)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.26.2...v0.27.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 💥 Breaking Changes

- textfile: disable collector by default by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1560](https://togithub.com/prometheus-community/windows_exporter/pull/1560)
- chore: Refactor Config Collector API by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1558](https://togithub.com/prometheus-community/windows_exporter/pull/1558)
- cleanup collector APIs 1 by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1547](https://togithub.com/prometheus-community/windows_exporter/pull/1547)

##### ✨ Exciting New Features

- chore: deprecate teradici_pcoip and vmware_blast collector by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1559](https://togithub.com/prometheus-community/windows_exporter/pull/1559)

##### 🐞 Bug Fixes

- installer: do not enable V1 counters by default by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1555](https://togithub.com/prometheus-community/windows_exporter/pull/1555)
- scheduled_task: do not report windows_scheduled_task_last_result for
task that never run before by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1562](https://togithub.com/prometheus-community/windows_exporter/pull/1562)

##### 🛠️ Dependencies

- chore(deps): bump actions/checkout from 3 to 4 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1550](https://togithub.com/prometheus-community/windows_exporter/pull/1550)
- chore(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1549](https://togithub.com/prometheus-community/windows_exporter/pull/1549)

**Full Changelog**:
prometheus-community/windows_exporter@v0.26.2...v0.27.0

###
[`v0.26.2`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.26.2)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.26.1...v0.26.2)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🐞 Bug Fixes

- printer: expose config struct properties by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1545](https://togithub.com/prometheus-community/windows_exporter/pull/1545)
- terminal_services: Fix "The operation completed successfully." error
by [@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1548](https://togithub.com/prometheus-community/windows_exporter/pull/1548)

**Full Changelog**:
prometheus-community/windows_exporter@v0.26.1...v0.26.2

###
[`v0.26.1`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.26.1)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.26.0...v0.26.1)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🐞 Bug Fixes

- fix: CPU Collector % Cx Time mismatch by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1542](https://togithub.com/prometheus-community/windows_exporter/pull/1542)
- logical_disk: Fix failed to get disk ID for dynamic volumes by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1544](https://togithub.com/prometheus-community/windows_exporter/pull/1544)

##### 🛠️ Dependencies

- chore(deps): bump actions/stale from 8 to 9 by
[@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus-community/windows_exporter/pull/1541](https://togithub.com/prometheus-community/windows_exporter/pull/1541)

**Full Changelog**:
prometheus-community/windows_exporter@v0.26.0...v0.26.1

###
[`v0.26.0`](https://togithub.com/prometheus-community/windows_exporter/releases/tag/v0.26.0)

[Compare
Source](https://togithub.com/prometheus-community/windows_exporter/compare/v0.25.1...v0.26.0)

#### What's Changed

-
fix([#&open-telemetry#8203;1390](https://togithub.com/prometheus-community/windows_exporter/issues/1390)):
global kingpin instead of app var by
[@&open-telemetry#8203;DiniFarb](https://togithub.com/DiniFarb) in
[https://github.com/prometheus-community/windows_exporter/pull/1397](https://togithub.com/prometheus-community/windows_exporter/pull/1397)
- docs!: Remove support for EOL Windows versions by
[@&open-telemetry#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1396](https://togithub.com/prometheus-community/windows_exporter/pull/1396)
- Fix collector.process.iis flag by
[@&open-telemetry#8203;jaco-van-zyl-derivco](https://togithub.com/jaco-van-zyl-derivco)
in
[https://github.com/prometheus-community/windows_exporter/pull/1416](https://togithub.com/prometheus-community/windows_exporter/pull/1416)
- fix: Apply query filter to metrics by
[@&open-telemetry#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1392](https://togithub.com/prometheus-community/windows_exporter/pull/1392)
- Restore Windows 2012 support. by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1446](https://togithub.com/prometheus-community/windows_exporter/pull/1446)
- installer: Disable Windows Firewall Exception by default. Can be
re-enabled with ADD_FIREWALL_EXCEPTION=yes by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1447](https://togithub.com/prometheus-community/windows_exporter/pull/1447)
- Improvement: Add owner_node on resource and resourcegroup for
mscluster by [@&open-telemetry#8203;webalexeu](https://togithub.com/webalexeu) in
[https://github.com/prometheus-community/windows_exporter/pull/1395](https://togithub.com/prometheus-community/windows_exporter/pull/1395)
- Add label volume_name to logical_disk collector by
[@&open-telemetry#8203;aburtasov](https://togithub.com/aburtasov) in
[https://github.com/prometheus-community/windows_exporter/pull/1442](https://togithub.com/prometheus-community/windows_exporter/pull/1442)
- Implement a Windows application manifest by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1445](https://togithub.com/prometheus-community/windows_exporter/pull/1445)
- Ability to disable debug endpoints by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1448](https://togithub.com/prometheus-community/windows_exporter/pull/1448)
- Do not add "--web.listen-address" to service if default values are
provided by [@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1452](https://togithub.com/prometheus-community/windows_exporter/pull/1452)
- iis: Add IIS info metric by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1450](https://togithub.com/prometheus-community/windows_exporter/pull/1450)
- perflib: enrich error message by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1460](https://togithub.com/prometheus-community/windows_exporter/pull/1460)
- Remove landing page by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1471](https://togithub.com/prometheus-community/windows_exporter/pull/1471)
- Remove unused `*prometheus.Desc` return value from collectors
`collect()` function by
[@&open-telemetry#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1475](https://togithub.com/prometheus-community/windows_exporter/pull/1475)
- Implementing smbclient collector by
[@&open-telemetry#8203;rob-scheepens](https://togithub.com/rob-scheepens) in
[https://github.com/prometheus-community/windows_exporter/pull/1408](https://togithub.com/prometheus-community/windows_exporter/pull/1408)
- Add: push docker images to dockerhub by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1469](https://togithub.com/prometheus-community/windows_exporter/pull/1469)
- scheduled_task: Move OLE connection to collect function by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1451](https://togithub.com/prometheus-community/windows_exporter/pull/1451)
- Enable process V1 performance counters by default by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1477](https://togithub.com/prometheus-community/windows_exporter/pull/1477)
- Add new RemoteFX network metrics by
[@&open-telemetry#8203;truck0321](https://togithub.com/truck0321) in
[https://github.com/prometheus-community/windows_exporter/pull/1489](https://togithub.com/prometheus-community/windows_exporter/pull/1489)
- Add Printer Exporter by
[@&open-telemetry#8203;soheilrt](https://togithub.com/soheilrt) in
[https://github.com/prometheus-community/windows_exporter/pull/1485](https://togithub.com/prometheus-community/windows_exporter/pull/1485)
- feat: allow setting of exporter process priority by
[@&open-telemetry#8203;breed808](https://togithub.com/breed808) in
[https://github.com/prometheus-community/windows_exporter/pull/1488](https://togithub.com/prometheus-community/windows_exporter/pull/1488)
- Fix omission of RemoteFX Graphics metrics by
[@&open-telemetry#8203;benash](https://togithub.com/benash) in
[https://github.com/prometheus-community/windows_exporter/pull/1511](https://togithub.com/prometheus-community/windows_exporter/pull/1511)
- Fix timezone caching issues by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1499](https://togithub.com/prometheus-community/windows_exporter/pull/1499)
- Service V2 collector by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1497](https://togithub.com/prometheus-community/windows_exporter/pull/1497)
- Add label user to process collector by
[@&open-telemetry#8203;aburtasov](https://togithub.com/aburtasov) in
[https://github.com/prometheus-community/windows_exporter/pull/1472](https://togithub.com/prometheus-community/windows_exporter/pull/1472)
- Update collector.diskdrive.md by
[@&open-telemetry#8203;jacbo0112](https://togithub.com/jacbo0112) in
[https://github.com/prometheus-community/windows_exporter/pull/1502](https://togithub.com/prometheus-community/windows_exporter/pull/1502)
- fix(README.md): Corrected image links by
[@&open-telemetry#8203;FRFlo](https://togithub.com/FRFlo) in
[https://github.com/prometheus-community/windows_exporter/pull/1533](https://togithub.com/prometheus-community/windows_exporter/pull/1533)
- Add hostprocess image builds by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1507](https://togithub.com/prometheus-community/windows_exporter/pull/1507)
- fix default value of collectors.dfsr.sources-enabled by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1506](https://togithub.com/prometheus-community/windows_exporter/pull/1506)
- logical disk: Fix metrics for non drive letter disks by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1498](https://togithub.com/prometheus-community/windows_exporter/pull/1498)
- printer collector: Use ENUM pattern for printer status by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1500](https://togithub.com/prometheus-community/windows_exporter/pull/1500)
- license collector by [@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke)
in
[https://github.com/prometheus-community/windows_exporter/pull/1524](https://togithub.com/prometheus-community/windows_exporter/pull/1524)
- Add terminal service session info by
[@&open-telemetry#8203;jkroepke](https://togithub.com/jkroepke) in
[https://github.com/prometheus-community/windows_exporter/pull/1525](https://togithub.com/prometheus-community/windows_exporter/pull/1525)

#### New Contributors

- [@&open-telemetry#8203;Winter-py](https://togithub.com/Winter-py) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1409](https://togithub.com/prometheus-community/windows_exporter/pull/1409)
-
[@&open-telemetry#8203;jaco-van-zyl-derivco](https://togithub.com/jaco-van-zyl-derivco)
made their first contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1416](https://togithub.com/prometheus-community/windows_exporter/pull/1416)
- [@&open-telemetry#8203;simon04](https://togithub.com/simon04) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1401](https://togithub.com/prometheus-community/windows_exporter/pull/1401)
- [@&open-telemetry#8203;webalexeu](https://togithub.com/webalexeu) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1395](https://togithub.com/prometheus-community/windows_exporter/pull/1395)
- [@&open-telemetry#8203;truck0321](https://togithub.com/truck0321) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1489](https://togithub.com/prometheus-community/windows_exporter/pull/1489)
- [@&open-telemetry#8203;jacbo0112](https://togithub.com/jacbo0112) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1495](https://togithub.com/prometheus-community/windows_exporter/pull/1495)
- [@&open-telemetry#8203;soheilrt](https://togithub.com/soheilrt) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1485](https://togithub.com/prometheus-community/windows_exporter/pull/1485)
- [@&open-telemetry#8203;benash](https://togithub.com/benash) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1511](https://togithub.com/prometheus-community/windows_exporter/pull/1511)
- [@&open-telemetry#8203;FRFlo](https://togithub.com/FRFlo) made their first
contribution in
[https://github.com/prometheus-community/windows_exporter/pull/1533](https://togithub.com/prometheus-community/windows_exporter/pull/1533)

**Full Changelog**:
prometheus-community/windows_exporter@v0.25.1...v0.26.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM4LjI2LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
anubhavg-icpl pushed a commit to anubhavg-icpl/windows_exporter that referenced this pull request Sep 22, 2024
Co-authored-by: Bob Allegretti <[email protected]>
Co-authored-by: Jan-Otto Kröpke <[email protected]>
Co-authored-by: Jan-Otto Kröpke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants