spruce up readme
This commit is contained in:
parent
a0ed56e22b
commit
13ecf36d74
2 changed files with 39 additions and 2 deletions
37
README.md
37
README.md
|
|
@ -8,6 +8,43 @@ See [the prometheus docs][0] for more information on the HTTP service discovery
|
||||||
|
|
||||||
[0]: https://prometheus.io/docs/prometheus/latest/http_sd/
|
[0]: https://prometheus.io/docs/prometheus/latest/http_sd/
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
`curl http://tailscalesd:9242/`
|
||||||
|
|
||||||
|
``` json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"labels": {
|
||||||
|
"__meta_tailscale_device_client_version": "1.52.1-t75d3c9385-g3e9627f3b",
|
||||||
|
"__meta_tailscale_device_hostname": "gp-ourapp-prod-main",
|
||||||
|
"__meta_tailscale_device_authorized": "true",
|
||||||
|
"__meta_tailscale_device_id": "1234678910",
|
||||||
|
"__meta_tailscale_device_name": "gp-ourapp-prod-main.rocky-rocks.ts.net",
|
||||||
|
"__meta_tailscale_device_os": "linux",
|
||||||
|
"__meta_tailscale_tailnet": "ourtailnet"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
"100.100.100.101"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"labels": {
|
||||||
|
"__meta_tailscale_device_client_version": "1.52.1-t75d3c9385-g3e9627f3b",
|
||||||
|
"__meta_tailscale_device_hostname": "ip-10-10-10-10",
|
||||||
|
"__meta_tailscale_device_authorized": "true",
|
||||||
|
"__meta_tailscale_device_id": "123456789101",
|
||||||
|
"__meta_tailscale_device_name": "ip-10-31-0-182.rocky-rocks.ts.net",
|
||||||
|
"__meta_tailscale_device_os": "linux",
|
||||||
|
"__meta_tailscale_tailnet": "ourtailnet"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
"100.100.100.102"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ authors = ["Abel Luck <abel@guardianproject.info>"]
|
||||||
include = ["LICENSE.MD"]
|
include = ["LICENSE.MD"]
|
||||||
exclude = ["tests"]
|
exclude = ["tests"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
homepage = "https://gitlab.com/guardianproject-ops/tailscalesd"
|
homepage = "https://gitlab.com/guardianproject-ops/py-tailscalesd"
|
||||||
repository = "https://gitlab.com/guardianproject-ops/tailscalesd"
|
repository = "https://gitlab.com/guardianproject-ops/py-tailscalesd"
|
||||||
packages = [
|
packages = [
|
||||||
{ include = "tailscalesd"}
|
{ include = "tailscalesd"}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue