mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-17 21:01:29 +08:00

* feat: add ttl for clickhouse setup in signoz * feat: added ttl for metrics table Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * feat: changed the api to use type and duration as params Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * added a getter for ttl endpoint Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * added a feature to retunr ttl for both metrics and traces Signed-off-by: Yash Sharma <yashrsharma44@gmail.com>
14 lines
230 B
Go
14 lines
230 B
Go
package constants
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
const HTTPHostPort = "0.0.0.0:8080"
|
|
|
|
var DruidClientUrl = os.Getenv("DruidClientUrl")
|
|
var DruidDatasource = os.Getenv("DruidDatasource")
|
|
|
|
const TraceTTL = "traces"
|
|
const MetricsTTL = "metrics"
|