1.0.5 • Published 5 months ago

greptime-cloud-quick-start v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

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

  1. Compile typescript to javascript.

    tsc
  2. Change the version in package.json.

  3. Commit and push code
  4. Create a tag with the version and push it.

    git tag v<major>.<minor>.<patch>
    git push origin v<major>.<minor>.<patch>
  5. Run npm publish

  6. Write change log in Github Release.