Skip to content

Monitoring items should use the dtle name as a prefix instead of the host name #706

@asiroliu

Description

@asiroliu

Description

Monitoring items should use the dtle name as a prefix instead of the host name

Steps to reproduce the issue

  1. deolpy dtle cluster
  • makesure publish_metrics is true
  • set dtle name is some-custome-dtle-name
  • set server hostname is dtle-src-1
  1. create job
  2. get monitoring items 'http://{dtle_server_ip}:8190/metrics'

Describe the results you received

the monitoring item's prefix is server hostname

# HELP dtle_dtle_src_1_delay_time dtle_dtle_src_1_delay_time
# TYPE dtle_dtle_src_1_delay_time gauge
dtle_dtle_src_1_delay_time{task_name="109_117_Src"} 0
dtle_dtle_src_1_delay_time{task_name="117_109_Dest"} 0

Describe the results you expected

the monitoring item's prefix should be dtle name
dtle_some-custome-dtle-name_delay_time{task_name="109_117_Src"}

Output of ./dtle version:**

9.9.9.9-master-1db03e8

Additional information

(e.g. issue happens only occasionally)

Additional details (log, config, job config etc):

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions