Refactor VPN proxy client implementation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import dashboard from '../../../../monitoring/grafana/harbor-gateway.json' with { type: 'json' };
|
||||
|
||||
export const grafanaDashboardJson = JSON.stringify(dashboard, null, 2);
|
||||
|
||||
export function prometheusScrapeConfig(controlHost: string) {
|
||||
return `scrape_configs:
|
||||
- job_name: harbor_gateway
|
||||
scrape_interval: 30s
|
||||
scrape_timeout: 3s
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets: ["${controlHost}"]`;
|
||||
}
|
||||
Reference in New Issue
Block a user