File: clients.md

package info (click to toggle)
cadvisor 0.38.7%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,508 kB
  • sloc: ansic: 839; sh: 310; python: 101; makefile: 93
file content (12 lines) | stat: -rw-r--r-- 451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# cAdvisor API Clients

There is an official Go client implementation in the [client](../client/) directory. You can use it on your own Go project by including it like this:

```go
import "github.com/google/cadvisor/client"

client, err = client.NewClient("http://localhost:8080/")
mInfo, err := client.MachineInfo()
```

Do you know of another cAdvisor client? Maybe in another language? Please let us know! We'd be happy to add a note on this page.