Docker Input Plugin Measure Thin Pool Minimum Free Space#6084
Docker Input Plugin Measure Thin Pool Minimum Free Space#6084GeorgeMac merged 10 commits intoinfluxdata:masterfrom GeorgeMac:gm/docker-input-thinpool
Conversation
|
I think we may want to reorganize the storage driver metrics. Right now the devicemapper metrics are spread out over several measurements: We can't get rid of these, since we don't want to break any queries, dashboards, alerts, etc. However, we can deprecate them and try again. I think this layout would be preferable: I like this layout more because it gives us room to grow, without a measurement explosion, and it groups all the devicemapper related values into a single measurement. |
|
I like it @danielnelson update: as I implement this I am just adding a note here that I will start with precisely the list of fields you describe there (minus "other stuff") with the addition of pool_blocksize. Since there are all byte measurements which I imagine might be the most useful. Some other possibilities are:
Do we want any or all of these to be included in this PR? |
danielnelson
left a comment
There was a problem hiding this comment.
It's hard to know where to draw the line between collecting everything and not enough, there isn't a correct answer really. My instinct is to add only base_device_size_bytes now and leave the rest off for later.
@akhon Do you need to monitor any of these other values?
|
|
||
| The above measurements for the devicemapper storage driver can now be found in the new `docker_devicemapper` measurement | ||
|
|
||
| - docker_devicemapper |
There was a problem hiding this comment.
You don't need to fix this, but this is good opportunity to show an obscure README issue. In Markdown, or maybe it's only Github Markdown, if you have multiple nested lists you will need to alter the first list character when repeating them, otherwise you get a weird bit of inconsistent vertical whitespace. To see this, in the current plugin README compare the vertical whitespace difference between the docker measurement and the docker_data. We usually use - and +.
Bad:
- foo
- bar
- foo2
- bar2
- foo3
- bar3
- foo4
- bar4
Good:
- foo
- bar
+ foo2
- bar2
- foo3
- bar3
+ foo4
- bar4
There was a problem hiding this comment.
Oh yeah that is weird. Nice I did not know this!
There was a problem hiding this comment.
What have you done. Now I can't unsee the whitespace 😂 ![]()
Closes #5758
This adds a new measurement
docker_thin_poolwith the fieldminimum_free_spacemeasured in bytes.Required for all PRs: