This is a quick start demo for GreptimeDB and GreptimeCloud. It collects the system metric data such as CPU and memory usage through Opentelemetry and sends the metrics to GreptimeDB.
Use the following command line to start sending metrics without cloning the project:
go run github.com/GreptimeCloudStarters/quick-start-go@latest -endpoint=<endpoint-url> -db=<dbname> -username=<username> -password=<password>
Or clone the project and run the following command line:
go run . -endpoint=<endpoint-url> -db=<dbname> -username=<username> -password=<password>
-
Update the version in
app.go
. -
Commit and push code.
-
Create a tag with the version and push it to the remote repository.
git tag v<major>.<minor>.<patch> git push origin v<major>.<minor>.<patch>
-
Update pkg.go.dev via
GOPROXY=proxy.golang.org go list -m github.com/GreptimeCloudStarters/quick-start-go@v<major>.<minor>.<patch>
-
Write change log in Github Release.