hashicorp / hashicorp/consul

Possibility to use custom defined hostname in Consul telemetry

Open
#2,310 1 comment 0 reactions 0 assignees View on GitHub
theme/operator-usability theme/telemetry type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

Hi there,

Is it possible to use telemetry in v. 0.6.4 with custom defined IP address?
I need statsite metrics with IP address separated by dashes like 172-31-31-31 instead of default 172.31.31.31

My namespace is:

```
curl -s http://localhost:8500/v1/catalog/nodes | jq .[]
...
{
"Node": "consul-172.31.31.31",
"Address": "172.31.31.31",
"TaggedAddresses": {
"wan": "172.31.31.31"
}
}
...
```

Is there is any way to re-define it as we do with a statsite_prefix option?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.