OpenTSDB

Telnet

NOTE

At the moment, authentication of OpenTSDB protocol over TCP is not yet supported. If there is a authentication with GreptimeDB, please use HTTP endpoints.

The GreptimeDB is listening on port 4242 by default to receive metrics via telnet. You can open your favorite terminal and type telnet 127.0.0.1 4242 to connect to GreptimeDB.

shell

  1. ~ % telnet 127.0.0.1 4242
  2. Trying 127.0.0.1...
  3. Connected to localhost.
  4. Escape character is '^]'.
  5. put sys.cpu.system 1667892080 3 host=web01 dc=hz
  6. quit
  7. Connection closed by foreign host.
  8. ~ %

HTTP API

GreptimeDB also supports OpenTSDB through HTTP API. For information on how to set up authentication, please refer to HTTP API.

Write Data

Please refer to write data.