81 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: monitoring.coreos.com/v1alpha1
 | 
						|
kind: ScrapeConfig
 | 
						|
metadata:
 | 
						|
  name: external-nodes-http
 | 
						|
  namespace: {{ .Release.Namespace }}
 | 
						|
  labels:
 | 
						|
    app.kubernetes.io/name: external-nodes-http
 | 
						|
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
						|
spec:
 | 
						|
  staticConfigs:
 | 
						|
    - labels:
 | 
						|
        job: external-nodes
 | 
						|
      targets:
 | 
						|
        - ps08rp.alexlebens.net:9100
 | 
						|
        - ps09rp.alexlebens.net:9100
 | 
						|
  metricsPath: /metrics
 | 
						|
  scheme: HTTP
 | 
						|
 | 
						|
---
 | 
						|
apiVersion: monitoring.coreos.com/v1alpha1
 | 
						|
kind: ScrapeConfig
 | 
						|
metadata:
 | 
						|
  name: external-nodes-https
 | 
						|
  namespace: {{ .Release.Namespace }}
 | 
						|
  labels:
 | 
						|
    app.kubernetes.io/name: external-nodes-https
 | 
						|
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
						|
spec:
 | 
						|
  staticConfigs:
 | 
						|
    - labels:
 | 
						|
        job: external-nodes
 | 
						|
      targets:
 | 
						|
        - node-exporter-ps10rp.boreal-beaufort.ts.net
 | 
						|
  metricsPath: /metrics
 | 
						|
  scheme: HTTPS
 | 
						|
 | 
						|
---
 | 
						|
apiVersion: monitoring.coreos.com/v1alpha1
 | 
						|
kind: ScrapeConfig
 | 
						|
metadata:
 | 
						|
  name: airgradient-http
 | 
						|
  namespace: {{ .Release.Namespace }}
 | 
						|
  labels:
 | 
						|
    app.kubernetes.io/name: airgradient-http
 | 
						|
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
						|
spec:
 | 
						|
  staticConfigs:
 | 
						|
    - labels:
 | 
						|
        job: airgradient
 | 
						|
      targets:
 | 
						|
        - it01ag.alexlebens.net:9926
 | 
						|
  metricsPath: /metrics
 | 
						|
  scheme: HTTP
 | 
						|
 | 
						|
---
 | 
						|
apiVersion: monitoring.coreos.com/v1alpha1
 | 
						|
kind: ScrapeConfig
 | 
						|
metadata:
 | 
						|
  name: garage-https
 | 
						|
  namespace: {{ .Release.Namespace }}
 | 
						|
  labels:
 | 
						|
    app.kubernetes.io/name: garage-https
 | 
						|
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
						|
spec:
 | 
						|
  staticConfigs:
 | 
						|
    - labels:
 | 
						|
        job: garage
 | 
						|
      targets:
 | 
						|
        - garage-ps10rp.boreal-beaufort.ts.net:3903
 | 
						|
  metricsPath: /metrics
 | 
						|
  scheme: HTTPS
 | 
						|
  authorization:
 | 
						|
    type: Bearer
 | 
						|
    credentials:
 | 
						|
      key: token
 | 
						|
      name: garage-metric-secret
 |