Comments (1)
As for the format/structure of data exposed by snap it would be same as currently exposed by kubelet.
The raw metrics (from kubelet) can be queried like this: curl <kubelet IP>:10255/stats/
The raw metrics (from snap) could be queried like this: curl <kubelet IP>:10555/stats/
This will allow to re-use parser methods (decodeMetrics) used on the heapster side. The alternative would be a snap specific format which would require new parser on heapster side - for PoC it seems that re-using existing parser would be faster and less error prone.
For the PoC there will be a new heapster publisher plugin which will expose data in the format exposed currently by the kubelet.
In the future there could be:
- a processor plugins which will re-format data exposed by snap collectors to k8s format
- a publisher plugin which will get the data (in k8s format) from the processor plugin to expose them via REST API
Having dedicated processor to adapt snap metrics to k8s format would allow to exchange publisher if needed.
@IzabellaRaulin @jcooklin @fgrzadkowski @piosz @mwielgus
from kubesnap.
Related Issues (6)
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 kubesnap.