Skip to content

Commit

Permalink
Drop redundant info from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Jun 20, 2021
1 parent f98e314 commit 2ddd794
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,44 +13,6 @@ This project provides a server to automatically discover nodes within your vClou

You can download prebuilt binaries from our [GitHub releases](https://github.com/promhippie/prometheus-vcd-sd/releases), or you can use our Docker images published on [Docker Hub](https://hub.docker.com/r/promhippie/prometheus-vcd-sd/tags/). If you need further guidance how to install this take a look at our [documentation](https://promhippie.github.io/prometheus-vcd-sd/#getting-started).

## Integration

### Available labels

The following list of meta labels can be used to relabel your scrape results entirely. Hopefully the names are self-explaining, that's why I have skipped a description for each label.

- `__address__`
- `__meta_vcd_metadata_<name>`
- `__meta_vcd_name`
- `__meta_vcd_id`
- `__meta_vcd_network_<name>`
- `__meta_vcd_num_cores_per_socket`
- `__meta_vcd_num_cpus`
- `__meta_vcd_org`
- `__meta_vcd_os_type`
- `__meta_vcd_project`
- `__meta_vcd_status`
- `__meta_vcd_storage_profile`
- `__meta_vcd_vdc`

### Prometheus config

Here you get a snippet for the Prometheus `scrape_config` that configures Prometheus to scrape `node_exporter` assuming that it is deployed on all your servers.

```yml
- job_name: node
file_sd_configs:
- files: [ "/etc/prometheus/vcd.json" ]
relabel_configs:
- source_labels: [__meta_vcd_network_internal]
replacement: "${1}:9100"
target_label: __address__
- source_labels: [__meta_vcd_org]
target_label: org
- source_labels: [__meta_vcd_name]
target_label: instance
```
## Development

Make sure you have a working Go environment, for further reference or a guide take a look at the [install instructions](http://golang.org/doc/install.html). This project requires Go >= v1.11.
Expand Down

0 comments on commit 2ddd794

Please sign in to comment.