Skip to content

Commit

Permalink
chore: minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Sep 1, 2024
1 parent 8b4613c commit 8a0354f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion flight-data-ingester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ cd demo-scene/flight-data-ingester
docker compose up
```

It can take a while for the first run to pull down images and also build necessary components.
It can take a while for the first run to pull down images and also build
necessary components.

Open your browser at `http://localhost:3000` and find our preconfigured grafnaa
dashboard.

## How it works

Expand All @@ -22,9 +26,11 @@ The topology is illustrated in this diagram.
```mermaid
flowchart LR
greptimedb[(GreptimeDB)]
grafana
api{Open Sky Data} --> go-ingester
go-ingester --> greptimedb
greptimedb --> grafana
```

after GreptimeDB starts, we use the `ingester` script which uses the go client's [high level api](https://docs.greptime.com/user-guide/ingest-data/for-iot/grpc-sdks/go/#installation) to create the table and insert data. It's dead-simple to perform transformations and data munging on your struct and insert into target GreptimeDB columns by tagging your metric struct accordingly as seen in the `./ingester/dto.go` file .
Expand Down
2 changes: 1 addition & 1 deletion flight-data-ingester/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
condition: service_started

grafana:
image: docker.io/grafana/grafana:11.1.0
image: docker.io/grafana/grafana:11.2.0
ports:
- 3000:3000
networks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
},
"timepicker": {},
"timezone": "browser",
"title": "New dashboard",
"title": "Flight Map",
"uid": "bdwetcv3dtssge",
"version": 7,
"weekStart": ""
Expand Down

0 comments on commit 8a0354f

Please sign in to comment.