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

feat: Harvest Prometheus exporter should support TLS #2153

Merged
merged 2 commits into from
Jun 23, 2023
Merged

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Jun 23, 2023

Fixes: #2070

Hardikl
Hardikl previously approved these changes Jun 23, 2023
Comment on lines 333 to 351
Exporters:
my-exporter:
local_http_addr: localhost
exporter: Prometheus
port: 16001
tls:
cert_file: cert/prom-cert.pem
key_file: cert/prom-key.pem
```

Update one of your Pollers to use this exporter and start the poller.

```yaml
Pollers:
my-cluster:
datacenter: dc-1
addr: 10.193.48.11
exporters:
- my-exporter # Use TLS exporter we created above
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like spacing here is 4 chars. I think our docs uses 2 spaces in yaml samples.

@rahulguptajss rahulguptajss merged commit 0459a13 into main Jun 23, 2023
@rahulguptajss rahulguptajss deleted the cbg-prom-tls branch June 23, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Harvest Prometheus exporter should support TLS
3 participants