mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 02:10:38 +00:00
feat!: switch prom remote write to metric engine (#3198)
* feat: switch prom remote write to metric engine Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * Apply suggestions from code review Co-authored-by: dennis zhuang <killme2008@gmail.com> * fix compile Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * read physical table name from url Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * remove physical table from header Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix merge error Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix format Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * add with_metric_engine option to config remote write behavior Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * check parameter Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * add specific config param Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * default with_metric_engine to true Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * update UT Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: dennis zhuang <killme2008@gmail.com>
This commit is contained in:
@@ -25,3 +25,5 @@ pub const GREPTIME_TIMESTAMP: &str = "greptime_timestamp";
|
||||
pub const GREPTIME_VALUE: &str = "greptime_value";
|
||||
/// Default counter column name for OTLP metrics.
|
||||
pub const GREPTIME_COUNT: &str = "greptime_count";
|
||||
/// Default physical table name
|
||||
pub const GREPTIME_PHYSICAL_TABLE: &str = "greptime_physical_table";
|
||||
|
||||
Reference in New Issue
Block a user