Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-24630

don't find "scrape.timestamp-tolerance" setting in prometheus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.16.0
    • premerge
    • Monitoring
    • None
    • Low
    • No
    • MON Sprint 246
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      tested https://github.com/openshift/cluster-monitoring-operator/pull/2187 with PR

      launch 4.15,openshift/cluster-monitoring-operator#2187 aws

      don't find "scrape.timestamp-tolerance" setting in prometheus and prometheus pod, no result for below commands

      $ oc -n openshift-monitoring get prometheus k8s -oyaml | grep -i "scrape.timestamp-tolerance"
      $ oc -n openshift-monitoring get pod prometheus-k8s-0 -oyaml | grep -i "scrape.timestamp-tolerance"
      $ oc -n openshift-monitoring get sts  prometheus-k8s  -oyaml | grep -i "scrape.timestamp-tolerance" 

      not in prometheus configuration file either

      $ oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- cat /etc/prometheus/config_out/prometheus.env.yaml | head
      global:
        evaluation_interval: 30s
        scrape_interval: 30s
        external_labels:
          prometheus: openshift-monitoring/k8s
          prometheus_replica: prometheus-k8s-0
      rule_files:
      - /etc/prometheus/rules/prometheus-k8s-rulefiles-0/*.yaml
      scrape_configs:
      - job_name: serviceMonitor/openshift-apiserver-operator/openshift-apiserver-operator/0

              jfajersk@redhat.com Jan Fajerski
              juzhao@redhat.com Junqi Zhao
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: