Skip to content

Commit

Permalink
spacex/api: update to API v28, software 2024.10.15.mr44519 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing authored Oct 26, 2024
1 parent c59fbc4 commit 515fe9b
Show file tree
Hide file tree
Showing 12 changed files with 6,917 additions and 5,837 deletions.
7 changes: 2 additions & 5 deletions cmd/starlink_exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,11 @@ import (
"github.com/joshuasing/starlink_exporter/internal/exporter"
)

const (
defaultListenAddress = ":9451"
defaultDishAddress = "192.168.100.1:9200"
)
const defaultListenAddress = ":9451"

var (
listenAddress = flag.String("listen", defaultListenAddress, "Listen address")
dishAddress = flag.String("dish", defaultDishAddress, "Dish address")
dishAddress = flag.String("dish", exporter.DefaultDishAddress, "Dish address")
)

func main() {
Expand Down
2 changes: 2 additions & 0 deletions internal/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const (
exporterSubsystem = "exporter"
)

const DefaultDishAddress = "192.168.100.1:9200"

var (
// Informational
dishInfo = prometheus.NewDesc(
Expand Down
10 changes: 8 additions & 2 deletions internal/spacex/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
The files in this directory are generated by [proto-gen.sh](../../scripts/proto-gen.sh).
DO NOT EDIT FILES IN THIS DIRECTORY.
The files in this directory are generated by [proto-gen.sh](../../scripts/proto-gen.sh). DO NOT EDIT.

Generated Sat 26 Oct 2024 10:42:41 UTC with:
```
Starlink Dishy rev4_prod1
Software version 2024.10.15.mr44519
API version 28
```
498 changes: 265 additions & 233 deletions internal/spacex/api/device/common.pb.go

Large diffs are not rendered by default.

881 changes: 422 additions & 459 deletions internal/spacex/api/device/device.pb.go

Large diffs are not rendered by default.

Loading

0 comments on commit 515fe9b

Please sign in to comment.