Skip to content

Commit

Permalink
lots of make, fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shalper2 committed Feb 10, 2025
1 parent 3515845 commit a5b4c17
Show file tree
Hide file tree
Showing 30 changed files with 109 additions and 86 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ body:
- receiver/webhookevent
- receiver/windowseventlog
- receiver/windowsperfcounters
- receiver/windowsservice
- receiver/zipkin
- receiver/zookeeper
- scraper/zookeeperscraper
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ body:
- receiver/webhookevent
- receiver/windowseventlog
- receiver/windowsperfcounters
- receiver/windowsservice
- receiver/zipkin
- receiver/zookeeper
- scraper/zookeeperscraper
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ body:
- receiver/webhookevent
- receiver/windowseventlog
- receiver/windowsperfcounters
- receiver/windowsservice
- receiver/zipkin
- receiver/zookeeper
- scraper/zookeeperscraper
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/unmaintained.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ body:
- receiver/webhookevent
- receiver/windowseventlog
- receiver/windowsperfcounters
- receiver/windowsservice
- receiver/zipkin
- receiver/zookeeper
- scraper/zookeeperscraper
Expand Down
File renamed without changes.
42 changes: 42 additions & 0 deletions receiver/windowsservicereceiver/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Windows Service Receiver

<!-- status autogenerated section -->
| Status | |
| ------------- |-----------|
| Stability | [development]: metrics |
| Unsupported Platforms | darwin, linux |
| Distributions | [contrib] |
| Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Areceiver%2Fwindowsservice%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Areceiver%2Fwindowsservice) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Areceiver%2Fwindowsservice%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Areceiver%2Fwindowsservice) |
| [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@shalper2](https://www.github.com/shalper2) |

[development]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#development
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
<!-- end autogenerated section -->

The Windows Service Receiver is a receiver for scraping information about services running on a Windows machine.

## Getting Started

By default the Windows Service Receiver will attempt to identify and monitor the status of all specified services on the host machine.

An example of monitoring three services on a host:
```yaml
windowsservice:
collection_interval: <duration> # default = 1m
include_services:
- service1
- service2
- service3
...
```
The case where you wish to monitor all services present on a host machine, except for `service3`:
```yaml
windowsservice:
collection_interval: <duration> # default = 1m
include_services:
exclude_services:
- service3
...
```

### Notes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

//go:generate mdatagen metadata.yaml

// Package fooreceiver bars.
// Package windowsservice receiver.
package windowsservicereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsservicereceiver"
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ metrics:
unit: '{status}'
gauge:
value_type: int
attributes: [windows.service.name, windows.service.startup_mode]
attributes: [windows.service.name, windows.service.startup_mode]

tests:
config:
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit a5b4c17

Please sign in to comment.