diff options
author | Tina Luedtke <kickoke@users.noreply.github.com> | 2022-02-02 14:04:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 17:04:39 -0500 |
commit | d46870e3c9d0a9f1ba8721343bec378a4d163e54 (patch) | |
tree | 09c7e21cf832eb4116db3eebd9c3b9ab7aba7413 /exporting/prometheus | |
parent | dd3f95d2a1dcf437c0f9d6a50f7c07eb1c99721b (diff) |
Docs install cleanup (#12057)
* Extensively reworked MacOS installation page.
* Removing outdated information
* Updated more instances of the old kickstart script
* Update kickstart command with tmp directories
* amend command to avoid merge conflict
* Removed reviewers note
Diffstat (limited to 'exporting/prometheus')
-rw-r--r-- | exporting/prometheus/README.md | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/exporting/prometheus/README.md b/exporting/prometheus/README.md index ef6f613580..8b56b68a64 100644 --- a/exporting/prometheus/README.md +++ b/exporting/prometheus/README.md @@ -7,10 +7,6 @@ sidebar_label: Using Netdata with Prometheus # Using Netdata with Prometheus -> IMPORTANT: the format Netdata sends metrics to Prometheus has changed since Netdata v1.7. The new Prometheus exporting -> connector for Netdata supports a lot more features and is aligned to the development of the rest of the Netdata -> exporting connectors. - Prometheus is a distributed monitoring system which offers a very simple setup along with a robust data model. Recently Netdata added support for Prometheus. I'm going to quickly show you how to install both Netdata and Prometheus on the same server. We can then use Grafana pointed at Prometheus to obtain long term metrics Netdata offers. I'm assuming we @@ -21,10 +17,20 @@ are starting at a fresh ubuntu shell (whether you'd like to follow along in a VM ### Installing Netdata There are number of ways to install Netdata according to [Installation](/packaging/installer/README.md). The suggested way -of installing the latest Netdata and keep it upgrade automatically. Using one line installation: +of installing the latest Netdata and keep it upgrade automatically. -```sh -bash <(curl -Ss https://my-netdata.io/kickstart.sh) +<!-- candidate for reuse --> + +To install Netdata, run the following as your normal user: + +```bash +wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh +``` + +Or, if you have cURL but not wget (such as on macOS): + +```bash +curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh ``` At this point we should have Netdata listening on port 19999. Attempt to take your browser here: @@ -208,9 +214,6 @@ this and click on 'targets' We should see the Netdata host as a scraped target. ## Netdata support for Prometheus -> IMPORTANT: the format Netdata sends metrics to Prometheus has changed since Netdata v1.6. The new format allows easier -> queries for metrics and supports both `as collected` and normalized metrics. - Before explaining the changes, we have to understand the key differences between Netdata and Prometheus. ### understanding Netdata metrics |