
Monitoring & Prometheus
Metrics collection, PromQL, exporters, Alertmanager, Grafana integration, troubleshooting missing metrics
1What is a Counter metric type in Prometheus?
What is a Counter metric type in Prometheus?
Câu trả lời
A Counter is a metric that can only increase or be reset to zero on restart. It is ideal for counting cumulative events like HTTP requests, errors, or processed messages. To calculate a rate of change, use the PromQL rate() or irate() function which automatically handles resets.
2What is the default metric collection model used by Prometheus?
What is the default metric collection model used by Prometheus?
Câu trả lời
Prometheus uses a pull model where the server actively scrapes metrics from targets at defined regular intervals. This model centralizes configuration, easily detects down targets, and prevents applications from overloading the server. The push gateway exists for ephemeral jobs but represents an exceptional pattern, not the norm.
3What is an exporter in the Prometheus ecosystem?
What is an exporter in the Prometheus ecosystem?
Câu trả lời
An exporter is a component that exposes metrics from third-party systems in Prometheus format. It translates native metrics from applications like MySQL, Redis, or NGINX into compatible metrics accessible via HTTP. Official exporters follow strict naming conventions and are maintained by the Prometheus community.
What is the main difference between a Gauge and a Counter?
What is the /metrics endpoint used for in an instrumented application?
+19 câu hỏi phỏng vấn
Các chủ đề phỏng vấn DevOps khác
Version Control & Git
Linux Fundamentals
Shell Scripting & Bash
Networking Basics
Docker Fundamentals
CI/CD Fundamentals
GitHub Actions
GitLab CI/CD
Jenkins
Kubernetes Basics
Kubernetes Networking
Kubernetes Advanced
Ingress & API Gateway
Terraform Basics
Terraform Advanced
Ansible & Configuration Management
AWS Essentials
Azure Fundamentals
GCP Fundamentals
Logging & ELK Stack
Alerting & Incident Response
Cloud Identity & Secrets
CI/CD Pipeline Security
Helm & Kubernetes
Runtime & Cluster Security
Container Supply Chain Security
Service Mesh & Istio
GitOps & ArgoCD
Progressive Delivery
Distributed Observability
Disaster Recovery & Backup
Performance Optimization
Cloud Cost Optimization
SRE Principles
Chaos Engineering
Platform Engineering
Nắm vững DevOps cho lần phỏng vấn tiếp theo
Truy cập tất cả câu hỏi, flashcards, bài kiểm tra kỹ thuật, bài tập code review và mô phỏng phỏng vấn.
Bắt đầu miễn phí