Prometheus
创建服务
为了充分体验 GreptimeCloud 的强大功能,你需要创建一个包含身份验证数据库的服务。打开 GreptimeCloud 控制台,注册并登录。然后单击 New Service 按钮并配置以下内容:
- Service Name: 服务名称。
 - Description: 有关该服务的更多信息。
 - Region: 选择数据库所在的区域。
 - Plan: 选择要使用的定价计划。
 
现在创建服务,准备向其写入一些数据。
写入数据
如果你已经有正在运行的 Prometheus 实例
将下面的内容添加到你的 Prometheus 配置文件中。
remote_write:
  - url: https://<host>/v1/prometheus/write?db=<dbname>
    basic_auth:
        username: <username>
        password: <password>