I am trying to monitor Strimzi using the kube-prometheus-stack helm chart. I have set it up following the tutorial from the official Strimzi documentation. In this tutorial, they both use Podmonitors and a Prometheus config to get some metrics. But I do not quite understand why I need to set up a Podmonitor for some metrics and add jobs in prometheus.prometheusSpec.additionalScrapeConfigs for others. Could someone explain the difference to me?
Prometheus Monitoring difference Podmonitor vs additionalScrapeConfigs
2.6k views Asked by Manuel At
1
There are 1 answers
Related Questions in KUBERNETES
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- I can't create a pod in minikube on windows
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Summarize pods not running, by Namespace and Reason - I'm having trouble finding the reason
- How to get Java running parameters from Spring Boot running inside container in pod where no ps exist
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- In rke kube-proxy pod is not present
- problem with edge server registration in Eureka
- Unable to Access Kubernetes LoadBalancer Service from Local Device Outside Cluster
- Kubernetes cluster on GCE connection refused error
- Based on my experience, I've outlined the Kubernetes request flow. Could someone please add or highlight any points I might have overlooked?
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- Python3.11 can't open file [Errno 2] No such file or directory
- Cannot find remote pod service - SERVICE_UNAVAILABLE
Related Questions in PROMETHEUS
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- Concept of _sum in prometheus histogram
- Telegraf input.exec not working with json
- Concept of process_cpu_seconds_total in prometheus
- Micrometer - Custom Gauge Metric Not Working
- wrong timestamp in promql
- Data visualization on Grafana dashboard
- Micrometer & Prometheus with Java subprocesses that can't expose HTTP
- How can I collect metrics from a Node.js application running in a Kubernetes cluster to monitor HTTP requests with status codes 5xx or 4xx?
- How do you filter a Prometheus metric based on the existence of a label in another metric?
- calculating availability of node using SysUpTime.0 variable collcted in prometheus and exposing to grafana
- Thanos Querier not showing metrics sent to hub Prometheus via remote write
- How to have multiple rules file on Loki (Kubernetes)?
- Monitoring Thread pool metrics through promethues
Related Questions in KUBERNETES-HELM
- Oracle setting up on k8s cluster using helm charts enterprise edition
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- Kubernetes, Helm, Varnish, building vcl file
- Network Connectivity Issue with Akeyless Gateway
- Gitlab CI - helm cli not working in source bash script
- `helm upgrade` patch deployment when there is no change
- Troubleshooting Airflow Deployment on Kubernetes: Webserver Inaccessibility, Pod Crashes, and Timeout Issues
- Helm Variable Chart.Name in Chart.yaml
- Creating a default helm chart with custom values
- Why using keystore value in Elasticsearch helm chart results in this error?
- Helm pod deployment loop
- how to securely add password or secrets into a helm values.yaml file that will be commited in git?
- Druid runtime properties
- Setting up Jupyterhub in ArgoCD doesnt accept values.yaml
- In a Helm template, is it possible to override specific properties if there are same key with different values
Related Questions in STRIMZI
- Unexpected Kafka request of type METADATA during SASL handshake On Linux Machine
- How do I configure multi-tenant Kafka-backed Knative channels in an Openshift?
- Apache Kafka local development
- Configuring and accessing strimzi kafka through Traefik ingressroutetcp
- kafka - how to check if cluster is not able to receive all the data being sent by producer
- Kafka Bootstrap broker <lb>:9092 (id: -1 rack: null) disconnected
- Upgrade Kafka version from 2.7 to 3.6.1 and strimzi operator version from 0.24 to 0.39
- Exotic choice for Kafka-Connect Deployment
- Why Kafka doesn't start deployed on local k8s?
- Error While Producing Message : Broker: Message size too large
- Kafka pods apparently going beyond their resource limits in kubernetes
- Kafka Connect for GCP PubSub using Strimzi Operator
- How to access strimzi kafka cluster running on minikube publically?
- kafka-cluster-zookeper networking issues in newer versions
- Fluentbit unable to export metrics from node_metrics_exporter input to kafka output
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The
PodMonitor(s) are used to select the metrics from the pods from the Strimzi provided custom resources, like for example Kafka, ZooKeeper, KafkaBridge, and so on. The Prometheus operator translates that configuration in corresponding jobs with akubernetes_sd_configshavingrole: pod. Theprometheus-additional.yamlfile that is used for the additional scrape configs field, contains "raw" jobs configuration for Kubernetes related metrics directly from nodes and provided by cadvisor and kubelet (i.e. volume disk space, CPU and memory usage). In the Prometheus operator there is no a corresponding thing forrole: node, doesn't exist a thing likeNodeMonitor. I hope that it makes more sense now.