greptime-cloud-quick-start
v1.0.5
Published
This is a quick start demo for [GreptimeCloud](https://greptime.cloud/). It collects the system metric data such as CPU and memory usage through Opentelemetry and sends the metrics to GreptimeCloud. You can view the metrics on the GreptimeCloud dashboard.
Downloads
2
Readme
Introduction
This is a quick start demo for GreptimeCloud. It collects the system metric data such as CPU and memory usage through Opentelemetry and sends the metrics to GreptimeCloud. You can view the metrics on the GreptimeCloud dashboard.
Quick Start
Use the following command line to start sending metrics without cloning the project:
npx greptime-cloud-quick-start --endpoint=<endpoint-url> --db=<dbname> --username=<username> --password=<password>
Or clone the project and run the following command line:
npm install
npx ts-node app.ts --endpoint=<endpoint-url> --db=<dbname> --username=<username> --password=<password>
npm-publish
Compile typescript to javascript.
tsc
Change the version in package.json.
Commit and push code
Create a tag with the version and push it.
git tag v<major>.<minor>.<patch> git push origin v<major>.<minor>.<patch>
Run
npm publish
Write change log in Github Release.