# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. server: port: ${random.int[10000,19999]} spring: datasource: driver-class-name: org.h2.Driver username: sa password: 123456 url: jdbc:h2:./data/test;MODE=MYSQL hikari: max-lifetime: 120000 jpa: show-sql: false database: h2 hibernate: ddl-auto: create-drop properties: hibernate: dialect: org.hibernate.dialect.H2Dialect format_sql: true flyway: enabled: false mail: host: smtp.exmail.qq.com username: example@tancloud.cn password: example port: 465 default-encoding: UTF-8 properties: mail: smtp: socketFactoryClass: javax.net.ssl.SSLSocketFactory ssl: enable: true debug: false common: queue: type: memory warehouse: store: duckdb: enabled: true expire-time: 90d store-path: data/history.duckdb victoria-metrics: enabled: false url: http://localhost:8428 username: root password: root insert: buffer-size: 100 flush-interval: 3 compression: enabled: false cluster: enabled: false select: url: http://localhost:8481 username: root password: root insert: url: http://localhost:8480 username: root password: root buffer-size: 1000 flush-interval: 3 td-engine: enabled: false driver-class-name: com.taosdata.jdbc.rs.RestfulDriver url: jdbc:TAOS-RS://127.0.0.1:6041/hertzbeat username: root password: taosdata greptime: enabled: false grpc-endpoints: localhost:4001 http-endpoint: http://localhost:4000 database: public username: greptime password: greptime iot-db: enabled: false host: 127.0.0.1 rpc-port: 6667 username: root password: root query-timeout-in-ms: -1 expire-time: '7776000000' influxdb: enabled: false server-url: http://127.0.0.1:8086 username: root password: root expire-time: '30d' replication: 1 # store real-time metrics data, enable only one below real-time: memory: enabled: true init-size: 16 redis: enabled: false # redis mode: single, sentinel, cluster. Default is single mode: single # separate each address with comma when using cluster mode, eg: 127.0.0.1:6379,127.0.0.1:6380 address: 127.0.0.1:6379 # enter master name when using sentinel mode masterName: mymaster password: 123456 # redis db index, default: DB0 db: 0 alerter: # custom console url console-url: https://console.tancloud.io # we work we-work-webhook-url: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key= # ding ding talk ding-talk-webhook-url: https://oapi.dingtalk.com/robot/send?access_token= # fei shu fly book fly-book-webhook-url: https://open.feishu.cn/open-apis/bot/v2/hook/ # telegram telegram-webhook-url: https://api.telegram.org/bot%s/sendMessage # discord discord-webhook-url: https://discord.com/api/v9/channels/%s/messages # serverChan server-chan-webhook-url: https://sctapi.ftqq.com/%s.send # gotify gotify-webhook-url: http://127.0.0.1/message?token=%s # alert inhibit ttl unit ms, default 14400000(4 hours) inhibit: ttl: 14400000 sms: enable: false type: tencent tencent: secret-id: secret-key: app-id: sign-name: template-id: alibaba: access-key-id: access-key-secret: sign-name: template-code: unisms: # auth-mode: simple or hmac auth-mode: simple access-key-id: YOUR_ACCESS_KEY_ID # hmac mode need to fill in access-key-secret access-key-secret: YOUR_ACCESS_KEY_SECRET signature: YOUR_SMS_SIGNATURE template-id: YOUR_TEMPLATE_ID smslocal: api-key: YOUR_API_KEY_HERE aws: access-key-id: YOUR_ACCESS_KEY_ID access-key-secret: YOUR_ACCESS_KEY_SECRET region: AWS_REGION_FOR_END_USER_MESSAGING twilio: account-sid: YOUR_ACCOUNT_SID auth-token: YOUR_AUTH_TOKEN twilio-phone-number: YOUR_TWILIO_PHONE_NUMBER scheduler: server: enabled: true port: 1158 grafana: enabled: false url: http://127.0.0.1:3000 expose-url: http://127.0.0.1:3000 username: admin password: admin hertzbeat: vthreads: enabled: true common: mode: UNBOUNDED_VT collector: mode: LIMIT_AND_REJECT manager: mode: LIMIT_AND_REJECT max-concurrent-jobs: 10 alerter: notify: mode: LIMIT_AND_REJECT max-concurrent-jobs: 64 periodic-max-concurrent-jobs: 10 log-worker: max-concurrent-jobs: 10 queue-capacity: 1000 reduce: max-concurrent-jobs: 2 window-evaluator: max-concurrent-jobs: 2 notify-max-concurrent-per-channel: 4 warehouse: mode: UNBOUNDED_VT async: enabled: true concurrency-limit: 256 reject-when-limit-reached: true task-termination-timeout: 5000