# # Provide a name in place of prometheus-stackdriver-exporter for `app:` labels # nameOverride: "stackdriver-exporter-infra-prd" # # Provide a name to substitute for the full names of resources # fullnameOverride: "stackdriver-exporter-infra-prd" # # Number of exporters to run # replicaCount: 1 # # Restart policy for container # restartPolicy: Always # image: # repository: prometheuscommunity/stackdriver-exporter # # if not set appVersion field from Chart.yaml is used # tag: "" # pullPolicy: IfNotPresent # ## Optionally specify an array of imagePullSecrets. # ## Secrets must be manually created in the namespace. # ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ # ## # # pullSecrets: # # - myDockerConfigJsonSecretName # resources: # requests: # cpu: 500m # memory: 512Mi # # limits: # # cpu: 100m # # memory: 128Mi # securityContext: {} # containerSecurityContext: {} # service: # type: ClusterIP # httpPort: 9255 # annotations: {} # ## Additional labels to add to all resources # customLabels: # bu: "infra" # team: "infra-sre" # service: "stackdriver-exporter-infra-prd" # env: "prd" # priority: "p0" # type: "exporter" # # app: prometheus-stackdriver-exporter # secret: # labels: {} # stackdriver: # # The Google Project ID to gather metrics for # projectId: "meesho-admin-prd-0622" # # An existing secret which contains credentials.json # serviceAccountSecret: "" # # Provide custom key for the existing secret to load credentials.json from # serviceAccountSecretKey: "" # # A service account key JSON file. Must be provided when no existing secret is used, in this case a new secret will be created holding this service account # serviceAccountKey: "" # # Max number of retries that should be attempted on 503 errors from Stackdriver # maxRetries: 0 # # How long should Stackdriver_exporter wait for a result from the Stackdriver API # httpTimeout: 10s # # Max time between each request in an exp backoff scenario # maxBackoff: 5s # # The amount of jitter to introduce in an exp backoff scenario # backoffJitter: 1s # # The HTTP statuses that should trigger a retry # retryStatuses: 503 # # Drop metrics from attached projects and fetch `project_id` only # dropDelegatedProjects: false # metrics: # # The prefixes to gather metrics for, we default to just CPU metrics. # typePrefixes: 'compute.googleapis.com/instance/cpu' # # The filters to refine the metrics query by using Filter objects that Google provides. # # Filter objects: project, group.id, resource.type, resource.labels.[KEY], metric.type, metric.labels.[KEY] # # https://cloud.google.com/monitoring/api/v3/filters # filters: [] # # - 'pubsub.googleapis.com/subscription:resource.labels.subscription_id=monitoring.regex.full_match("us-west4.*my-team.*")' # # The frequency to request # interval: '5m' # # How far into the past to offset # offset: '0s' # # Offset for the Google Stackdriver Monitoring Metrics interval into the past by the ingest delay from the metric's metadata. # ingestDelay: false # # If enabled will treat all DELTA metrics as an in-memory counter instead of a gauge. # aggregateDeltas: false # # How long should a delta metric continue to be exported after GCP stops producing a metric # aggregateDeltasTTL: '30m' # web: # # Port to listen on # listenAddress: ':9255' # # Path under which to expose metrics. # path: /metrics # ## Pod affinity # ## # affinity: {} # annotations: # prometheus.io/scrape: "true" # prometheus.io/port: "9255" # prometheus.io/path: "/metrics" # ## Pod extra arguments # ## # extraArgs: {} # ## Node labels for stackdriver-exporter pod assignment # ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ # ## # nodeSelector: # dedicated: vmselect # ## Node tolerations for stackdriver-exporter scheduling to nodes with taints # ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ # ## # tolerations: # - key: "dedicated" # operator: "Equal" # value: "vmselect" # effect: "NoSchedule" # ## Service Account # ## # serviceAccount: # # Specifies whether a ServiceAccount should be created # create: true # # The name of the ServiceAccount to use. # # If not set and create is false, 'default' is used # # If not set and create is true, a name is generated using the fullname template # name: # annotations: { # iam.gke.io/gcp-service-account: sa-stackdriver-exp-infra-prd@meesho-admin-prd-0622.iam.gserviceaccount.com # } # # Enable this if you're using https://github.com/coreos/prometheus-operator # serviceMonitor: # enabled: false # namespace: monitoring # # additionalLabels is the set of additional labels to add to the ServiceMonitor # additionalLabels: {} # # How long until a scrape request times out. # scrapeTimeout: '10s' # # fallback to the prometheus default unless specified # interval: 10s # # Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr) # honorLabels: true # # Whether Prometheus should use the timestamps of the metrics exposed by stackdriver-exporter # honorTimestamps: true # # MetricRelabelConfigs to apply to samples before ingestion https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig # metricRelabelings: [] # # RelabelConfigs to apply to samples before scraping. https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig # relabelings: [] # ## Custom PrometheusRules to be defined # ## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions # prometheusRule: # enabled: false # additionalLabels: {} # namespace: "" # rules: []