Loading manifests/servicemonitors.yaml +4 −4 Original line number Diff line number Diff line Loading @@ -277,9 +277,9 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: namespace: monitoring # namespace where prometheus is running name: tfs-automationservice-metric name: tfs-ztpservice-metric labels: app: automationservice app: ztpservice #release: prometheus #release: prom # name of the release # ( VERY IMPORTANT: You need to know the correct release name by viewing Loading @@ -290,7 +290,7 @@ spec: matchLabels: # Target app service #namespace: tfs app: automationservice # same as above app: ztpservice # same as above #release: prometheus # same as above endpoints: - port: metrics # named port in target app Loading scripts/update_license_headers.py +2 −2 Original line number Diff line number Diff line Loading @@ -55,8 +55,8 @@ def skip_file(file_path : str) -> bool: if '/.mvn/' in file_path: return True if '/hackfest/kafka/kafka_2.13-2.8.0' in file_path: return True if '/src/device/service/drivers/openconfig/templates/' in file_path: return True if '/automation/target/generated-sources/grpc/' in file_path: return True if '/automation/target/kubernetes/' in file_path: return True if '/ztp/target/generated-sources/grpc/' in file_path: return True if '/ztp/target/kubernetes/' in file_path: return True if '/policy/target/generated-sources/grpc/' in file_path: return True if '/policy/target/kubernetes/' in file_path: return True if '/src/dlt/gateway/' in file_path: return True Loading Loading
manifests/servicemonitors.yaml +4 −4 Original line number Diff line number Diff line Loading @@ -277,9 +277,9 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: namespace: monitoring # namespace where prometheus is running name: tfs-automationservice-metric name: tfs-ztpservice-metric labels: app: automationservice app: ztpservice #release: prometheus #release: prom # name of the release # ( VERY IMPORTANT: You need to know the correct release name by viewing Loading @@ -290,7 +290,7 @@ spec: matchLabels: # Target app service #namespace: tfs app: automationservice # same as above app: ztpservice # same as above #release: prometheus # same as above endpoints: - port: metrics # named port in target app Loading
scripts/update_license_headers.py +2 −2 Original line number Diff line number Diff line Loading @@ -55,8 +55,8 @@ def skip_file(file_path : str) -> bool: if '/.mvn/' in file_path: return True if '/hackfest/kafka/kafka_2.13-2.8.0' in file_path: return True if '/src/device/service/drivers/openconfig/templates/' in file_path: return True if '/automation/target/generated-sources/grpc/' in file_path: return True if '/automation/target/kubernetes/' in file_path: return True if '/ztp/target/generated-sources/grpc/' in file_path: return True if '/ztp/target/kubernetes/' in file_path: return True if '/policy/target/generated-sources/grpc/' in file_path: return True if '/policy/target/kubernetes/' in file_path: return True if '/src/dlt/gateway/' in file_path: return True Loading