apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: disable-telemetry
spec:
  tracing:
    samplingRate: "0"
  metrics:
    enabled: false

---
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: obs-defaultmetric
spec:
  tracing:
    samplingRate: "0"
  # by default, metric.enabled is true.

---

apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: metrics-config
spec:
  metrics:
    enabled: true
    http:
      increasedCardinality: false