subbeat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
732 B

3 years ago
# subbeat
subbeat
3 years ago
## Example
```
subbeat grafana http://localhost:3000 eyJrIjoiWnRRMTNmcGpvTHNPb3UzNzdUNUphRm53Rk9tMTNzOTQiLCJuIjoic3ViYmVhdC10ZXN0IiwiaWQiOjF9 "/api/datasources/proxy/1/api/v1/query_range" "rate(go_memstats_alloc_bytes_total[5m])" 1634672070 1635110190 15
3 years ago
```
### Datasources
3 years ago
#### Prometheus
```
subbeat prometheus http://localhost:9090/ "rate(go_memstats_alloc_bytes_total[5m])" 1634172070 1635110190 15
```
3 years ago
#### Influx
```
subbeat influx http://localhost:8086 5abe4759f7360f1c sCAB2MVo8TJxhUH8UDJZIeCPwf-cykBtO0jhr207qCQSZ9d43JXObCYK_uAml2BL26JBYFauz95yIeC51kxQol== 'from(bucket:"main-backet") |> $range |> filter(fn:(r) => r._measurement == "cpu")' 1635985640 1635986810 10
```
3 years ago
#### Grafana
* Prometheus