Microk8s DNS schedules a DNS Pod and service on the cluster, and configures the kubelets to tell individual containers to use the DNS Service IP to resolve DNS names.

Global Template

Assign following template to Microk8s Master or Microk8s integration resource under Infrastructure > Resources > Microk8s page.

Collector Type: Agent

Category: Application Monitors

G2 Monitor Name: Agent G2 - Linux - MicroK8s CoreDNS

Global Template Name: Agent G2 - Linux - MicroK8s CoreDns

Collected Metrics

Metric NameDisplay NameDescriptionUnits
coredns.panicsTotal PanicsTotal number of panics.
coredns.query.countQuery countTotal number of query count.
coredns.request_duration.seconds.sumRequest Duration Seconds SumDuration to process each query.
coredns.request_duration.seconds.countRequest Duration Seconds CountDuration per upstream interaction.
coredns.response_size.bytes.sumResponse Size Bytes SumSize of the returns response .bytes


Navigate to Infrastructure > Resources tab to check if your resources are onboarded and the metrics are collected.