Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Grafana Dashboard #1021

Closed
prologic opened this issue Sep 3, 2017 · 12 comments
Closed

[Question]: Grafana Dashboard #1021

prologic opened this issue Sep 3, 2017 · 12 comments
Labels

Comments

@prologic
Copy link
Contributor

prologic commented Sep 3, 2017

Does anyone have a working Grafana Dashbaord for CoreDNS metrics using Prometheus as a data source?

@miekg miekg added the question label Sep 4, 2017
@miekg
Copy link
Member

miekg commented Sep 4, 2017

Yes, I have one, could give you the json. It's not very good - mainly just sum(rate) of stuff, but might provide a good starting point.

@prologic
Copy link
Contributor Author

prologic commented Sep 4, 2017 via email

@miekg
Copy link
Member

miekg commented Sep 4, 2017

@prologic
Copy link
Contributor Author

prologic commented Sep 4, 2017

Thank you! I improved it slightly to make the $Instance selection dynamic (I run 3 coredns instances locally on my network).

Amazingly I do about ~500-600 kpps wut?! Is this normal for a home network with some dozen devices, cputers and a few servers? :)

@prologic
Copy link
Contributor Author

prologic commented Sep 4, 2017

I also proxy everything else out via google's public dns servers; so I'll add in respective Response and Response duration graphs for all proxy metrics and post an updated version.

@miekg
Copy link
Member

miekg commented Sep 5, 2017

500-600 Kqps? For your home network - no way!

@miekg miekg closed this as completed Sep 6, 2017
@prologic
Copy link
Contributor Author

prologic commented May 5, 2018

Published to https://grafana.com/dashboards/5926

@miekg
Copy link
Member

miekg commented May 5, 2018

Spotted small typo: A Dashbaord for the CoreDNS dns

Dashboard and prolly: dns -> DNS.

@prologic
Copy link
Contributor Author

prologic commented May 5, 2018

Fixed! Not sure what else to document really; because besides you and me I'm not sure who else uses/wants this dashboard :)

@pawelprazak
Copy link

FYI @prologic there was a metric rename:

  • coredns_dns_request_duration_milliseconds_bucket -> coredns_dns_request_duration_seconds_bucket

@Sherlock-Holo
Copy link

Sherlock-Holo commented May 14, 2019

After enable prometheus in corefile, I add prometheus data source into grafana and then import json file, but it report

{
    "err": {
        "data": null,
        "status": -1,
        "config": {
            "method": "GET",
            "transformRequest": [
                null
            ],
            "transformResponse": [
                null
            ],
            "jsonpCallbackParam": "callback",
            "silent": true,
            "url": "http://10.20.30.15:9253/metrics/api/v1/series?match[]=up%7Bjob%3D%22coredns%22%7D&start=1557808201&end=1557819001",
            "retry": 0,
            "headers": {
                "Accept": "application/json, text/plain, */*"
            }
        },
        "statusText": "",
        "xhrStatus": "error"
    },
    "cancelled": true
}

What can I do to fix it

@Dentrax
Copy link

Dentrax commented Nov 4, 2023

besides you and me I'm not sure who else uses/wants this dashboard :)

Downloads: 337,965 :)

Just curious if the dashboard is up-to-date since Last update: 2018-05-05T19:15:28 quite old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants