Comments (5)
@SophisticaSean Thank you very much about your motivation to pick this up! Mostly, I just would like to see the device's assigned name or (in case of folders) the assigned name from the web-ui. This would make identifying the metrics much easier!
But, as you ask... Maybe there is more metadata available? Could you compile a short list of ideas (be it just code references), where I could get an idea from what to suggest?
Thanks in advance!
Yeah I'll take a look. My cursory glance revealed that this metric output takes the device ID's in as an argument, so we'd have to do some reworking to expose more data to the resulting prometheus metrics output.
from syncthing.
I suspect there are a number of places exporting things by ID where the name is not readily available. An other option could be to expose an info metric, like a gauge with ID, name, type labels and just the value 1 for each folder & device. You can then join with that in the promql query.
from syncthing.
@SophisticaSean Thank you very much about your motivation to pick this up! Mostly, I just would like to see the device's assigned name or (in case of folders) the assigned name from the web-ui. This would make identifying the metrics much easier!
But, as you ask... Maybe there is more metadata available? Could you compile a short list of ideas (be it just code references), where I could get an idea from what to suggest?
Thanks in advance!
from syncthing.
@simonmicro could you provide an example of what device metadata you'd like to see exposed with those metrics? I'm thinking about giving this a shot. :)
from syncthing.
@calmh Yes! This would also be a solution. Just presenting some metadata-metrics, which present the labels for the folder / device ids or even more metadata (last seen, connect time, connect ip, ...). Good idea!
from syncthing.
Related Issues (20)
- Please make Maxmind's geoipupdate an optional dependency (or call the command externally) HOT 18
- Files โcreatedโ by Syncthing ignore UMask (.stfolder and .stversions)
- .stignore * behaves differently on mac and linux HOT 8
- Housekeeping: chmod -x non-executable files
- Sync not happening / stalling for several minutes HOT 2
- Syncthing Relay: need some more examples for systemd script HOT 1
- Delete device will trigger folder scan, keep delete old device make the syncthing consume height cpu and disk io. HOT 1
- The program did not start after installation. HOT 6
- Auto recovery from 'folder path missing' race condition. HOT 1
- .HEIC instead of .JPG HOT 1
- syncthing generate --gui-address HOT 11
- [Not a Bug] apt.syncthing.net is not accesible over IPv6 HOT 5
- Transcoding fes HOT 1
- Starting Syncthing manually or automatically has different configurations HOT 1
- Encrypted Receive-Only Folders Syncing with Each Other HOT 1
- UX/UI: Inconsistent information and inconclusive "override changes" action button in Out of Sync situation HOT 3
- "Watching for changes encountered an event outside of the filesystem root" when the folder path uses ~ and has a trailing space HOT 4
- Add time remaining to remote devices HOT 1
- The Web UI defaults to Filipino on Finnish browsers.
- lib/api: /svc/lang disregards the passed quality values
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 syncthing.