Skip to content

Commit

Permalink
Issue #223: Update Prometheus Configuration for Windows and Linux Get…
Browse files Browse the repository at this point in the history
…ting Started

Modify getting-started-windows.md and getting-started-linux.md
  • Loading branch information
SafaeAJ committed Jun 6, 2024
1 parent cc5bc68 commit fd9a0ac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@ metrics:

metricshub.host.up:
description: Whether the configured protocol (http, ipmi, snmp, ssh, wbem, winrm and wmi) is up (1) or not (0).
type: UpDownCounter
type: UpDownCounter

hw.status:
description: 'Operational status: 1 (true) or 0 (false) for each of the possible states.'
type:
stateSet:
- degraded
- failed
- ok
2 changes: 1 addition & 1 deletion metricshub-doc/src/site/markdown/getting-started-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ otel:

1. Run the below command to start Prometheus:
```shell
sudo ./prometheus --config.file=prometheus.yml --web.console.templates=consoles --web.console.libraries=console_libraries --storage.tsdb.retention.time=10m --storage.tsdb.path=/ --web.enable-lifecycle --web.enable-remote-write-receiver --web.route-prefix=/ --enable-feature=exemplar-storage --enable-feature=otlp-write-receiver
sudo ./prometheus --config.file=prometheus.yml --web.console.templates=consoles --web.console.libraries=console_libraries --storage.tsdb.retention.time=2h --web.enable-lifecycle --web.enable-remote-write-receiver --web.route-prefix=/ --enable-feature=exemplar-storage --enable-feature=otlp-write-receiver
```

4. Type [localhost:9090](http://localhost:9090) in your Web browser.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ otel:
2. Run the below command to start Prometheus:

```shell
prometheus.exe --config.file=prometheus.yml --web.console.templates=consoles --web.console.libraries=console_libraries --storage.tsdb.retention.time=10m --storage.tsdb.path=/ --web.enable-lifecycle --web.enable-remote-write-receiver --web.route-prefix=/ --enable-feature=exemplar-storage --enable-feature=otlp-write-receiver
prometheus.exe --config.file=prometheus.yml --web.console.templates=consoles --web.console.libraries=console_libraries --storage.tsdb.retention.time=2h --web.enable-lifecycle --web.enable-remote-write-receiver --web.route-prefix=/ --enable-feature=exemplar-storage --enable-feature=otlp-write-receiver
```

3. Type [localhost:9090](http://localhost:9090) in your Web browser.
Expand Down

0 comments on commit fd9a0ac

Please sign in to comment.