Comments (2)
+1, wish it showing hostname instead of IP address:port for someone that don't use fqdn for servers.
can I somehow relabel the instance value so that it contains the nodename instead
technically you can relabel it in prometheus config, but it make the query return wrong value so I don't think it doable
from grafana-dashboards.
You could change the node
variable to a "Series query", with the query value of node_uname_info{job="$job"}
, and then add this to the Regex box: /nodename=\"(?<text>[^"]+)|instance=\"(?<value>[^\"]+)/g
. That will cause the nodename
value to be used as the display in the combobox, but the actual instance
value used in the query under the hood is still IP:port.
The only caveat is a lot of Linux systems (RH based?) default to "localhost.localdomain", and I'm not aware of any way to conditionally fall back to IP address if the nodename isn't sane.
from grafana-dashboards.
Related Issues (20)
- Dashboard View Doesn't Update When Datasource Changed HOT 2
- No data available when interval is less than 24 hours HOT 3
- HAProxy status panel without state labels/information HOT 1
- [feature] Toggle for 95% percentile on graphs for node-exporter-full.json
- No data showing HOT 6
- Include Node Exporter `node_pressure_*` PSI metrics in Node Exporter Full dashboard HOT 2
- CPU Usage & Network Traffic Basic not reflecting over Grafana HOT 3
- Scrollbars on Gauge display in Grafana 10.3 HOT 1
- Layout Error HOT 3
- Duplicate series with two Raspberry Pis HOT 5
- node-exporter-full json string
- Node Exporter Full: does not make sense to calculate Sys Load to percent HOT 4
- most of things doesnt match
- Bytes in/out are multiplied by 8 HOT 1
- Node Exporter Suggestion: have time series widget of load5
- [haproxy-2] Frontend cache uses $backend variable HOT 1
- Node Exporter Full Network Traffic Basic uses irate() that leads to spiky graph HOT 1
- Convert panels from 'graph' to 'timeseries' plugin HOT 3
- Exclude readonly filesystems from disk space graph
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-dashboards.