Integrate RDC with Grafana

A new Grafana dashboard file rdc_grafana_dashboard_example.json
has been added to the folder python_binding. User can import
this dashboard to monitor multiple compute nodes.

To display the host name only in the dashboard, the
rdc_prometheus_example.yml is also changed to create a new label
short_instance which will not have the port number.

Change-Id: I9ab91838006d59c8dcb5fea01decb8c799484e1d


[ROCm/rdc commit: aeba7b0f91]
이 커밋은 다음에 포함됨:
Bill(Shuzhou) Liu가 2020-10-15 14:12:15 -04:00를 커밋했습니다
1 부모 753d5fed6d
커밋 1602a481cf
2 파일이 변경됨
+997

검색과 일치하는 파일 없음

+6
파일 보기
@@ -12,6 +12,12 @@ scrape_configs:
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
# Remove the port for display
relabel_configs:
- source_labels: [__address__]
regex: '([^:]+):\d+'
target_label: short_instance
file_sd_configs:
- files:
- 'prometheus_targets.json'