Comments (8)
That works for me. I’ll work that into the PR.
This does mean that the chart json would move into this repo though. I don’t know of a way to collaborate on a chart that’s been uploaded to grafana. Is that ok?
from container-node_exporter-textfiles.
@tdorsey Thanks for raising the issue!
I have gone ahead and updated the Dockerfile to use debian:buster-slim
and updated the smartmon.sh
script.
Could you please verify that continue to get the smartmon_temperature_celsius_raw_value
metrics with the latest image v1.1.0
(quay image is already built, Docker Hub still needs a few more minutes).
A potential fix could be to use the and
operator (in my case it seems to work as expected):
avg(smartmon_temperature_celsius_raw_value{instance=~"$instance"} and smartmon_airflow_temperature_cel_value) by (instance, disk)
(https://prometheus.io/docs/prometheus/latest/querying/operators/#logical-set-binary-operators)
Would you be up to open a PR changing the affected queries to use and
in them as shown in the example?
from container-node_exporter-textfiles.
Yeah, that's no problem, although I can't guarantee an ETA.
Keeping in mind that I know next to nothing about prometheus vectors, do you know why an or
instead of and
fails to return data? I'd assume that if smartmon ever returned both airflow* and raw* that the graph would have duplicated data, but using an or operator fails to return either set...
from container-node_exporter-textfiles.
I have looked into the whole thing a bit further, seems that different HDDs might report a different set of SMART values.
In my K8S cluster with the v1.1.0 image (and before that) I'm getting both metrics (smartmon_temperature_celsius_raw_*
and smartmon_airflow_temperature_*
).
What do you think about adding keeping the Disk Temperature
and adding a new panel next to it with the airflow temps?
So like this Smartmon Textfile-1569782184745.txt
(I had to rename the file to end with .txt
because GitHub doesn't allow .json
uploads)
This isn't a perfect solution, as one graph might be empty depending on the SMART values exposed by the disks, though at least from my perspective it would be a good compromise for the dashboard.
from container-node_exporter-textfiles.
Yeah, there isn't really a good way. Moving the chart in the repo is fine.
from container-node_exporter-textfiles.
@tdorsey ping, any updates on this issue?
from container-node_exporter-textfiles.
@galexrt Sorry for the delay on this. The version of grafana I'm working with has changed json schema formats significantly in the interim, but this version is working for me. Let me know if you see issues
from container-node_exporter-textfiles.
@tdorsey As written in the PR, just update the existing dashboard json file. Please add the Grafana version requirement to the README Grafana section.
from container-node_exporter-textfiles.
Related Issues (12)
- does not work for nvme disk HOT 2
- how to use with prometheus operator HOT 3
- Container Image Missing Python HOT 2
- Link in README.md is broken ("Required node_exporter Configuration") HOT 1
- Helm chart packaging HOT 2
- no matches for kind "PodSecurityPolicy" in version "extensions/v1beta1" HOT 1
- Error: failed to create containerd task HOT 3
- Dependency Dashboard
- Unable to deploy image since end of October HOT 5
- Integrate with Prometheus AlertManager HOT 3
- Create Helm Chart HOT 1
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 container-node_exporter-textfiles.