Bird
0
0

Given the following Istio configuration snippet for telemetry, what will be the effect?

medium📝 Command Output Q13 of 15
Kubernetes - Service Mesh
Given the following Istio configuration snippet for telemetry, what will be the effect?
apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
  name: example-telemetry
spec:
  metrics:
  - providers:
    - name: prometheus
    overrides:
      prometheus:
        defaultHistogramBuckets: [0.1, 0.5, 1, 5]
APrometheus will ignore histogram buckets and use defaults
BPrometheus will collect metrics with custom histogram buckets 0.1, 0.5, 1, and 5
CTelemetry resource will cause an error due to invalid syntax
DMetrics will be sent to Jaeger instead of Prometheus
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the Telemetry resource configuration

    The snippet sets a Telemetry resource specifying Prometheus as the metrics provider and overrides histogram buckets to [0.1, 0.5, 1, 5].
  2. Step 2: Understand the effect on Prometheus metrics

    This means Prometheus will collect metrics using these custom histogram buckets instead of defaults.
  3. Final Answer:

    Prometheus will collect metrics with custom histogram buckets 0.1, 0.5, 1, and 5 -> Option B
  4. Quick Check:

    Telemetry config with overrides = custom Prometheus buckets [OK]
Quick Trick: Overrides in Telemetry change Prometheus buckets [OK]
Common Mistakes:
  • Assuming default buckets remain unchanged
  • Confusing metrics destination as Jaeger
  • Thinking syntax is invalid without error

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes