agones.dev/agones@v1.53.0/build/grafana-frontend.yaml (about) 1 --- 2 # Copyright 2023 Google LLC All Rights Reserved. 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # Connects to Prometheus frontend UI: https://cloud.google.com/stackdriver/docs/managed-prometheus/query#ui-prometheus 16 service: 17 port: 3000 18 tolerations: 19 - key: agones.dev/agones-metrics 20 operator: Equal 21 value: 'true' 22 effect: NoExecute 23 affinity: 24 nodeAffinity: 25 preferredDuringSchedulingIgnoredDuringExecution: 26 - weight: 1 27 preference: 28 matchExpressions: 29 - key: agones.dev/agones-metrics 30 operator: Exists 31 sidecar: 32 dashboards: 33 enabled: true 34 plugins: grafana-piechart-panel 35 datasources: 36 datasources.yaml: 37 apiVersion: 1 38 datasources: 39 - name: Prometheus 40 type: prometheus 41 url: http://frontend.metrics.svc.cluster.local:9090/ 42 access: proxy 43 isDefault: true