Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Export pipeline state in prometheus format #142

Closed
f0 opened this issue Nov 28, 2016 · 3 comments
Closed

Export pipeline state in prometheus format #142

f0 opened this issue Nov 28, 2016 · 3 comments

Comments

@f0
Copy link

f0 commented Nov 28, 2016

it would be nice to have the pipeline state exported in the https://prometheus.io/ format (https://prometheus.io/docs/instrumenting/exposition_formats/). (to monitor build failures)

i think the following should exposed for each pipeline (and / or step?)

duration
status
last succesfull status
last build date
...

@f0 f0 changed the title export state in prometheus format Export pipeline state in prometheus format Nov 28, 2016
@flosell
Copy link
Owner

flosell commented Nov 28, 2016

I can see this as an interesting feature.
However, to keep the core of lambdacd focused, I'd prefer to keep features like this out of the core and in separate libraries that users pull in when needed, along the lines of how cctray support was implemented in lambdacd-cctray.

I'd imagine prometheus-support could be implemented in a very similar manner. Just keep in mind that some aspects of the state-interface that lambdacd-cctray uses were deprecated in the last lambdacd-release. This should be fixed soon (see flosell/lambdacd-cctray#11 for details)

@flosell
Copy link
Owner

flosell commented Jan 15, 2017

Since I am currently not using prometheus, I'd welcome someone contributing this feature as a separate library.

@flosell
Copy link
Owner

flosell commented Jan 30, 2017

losing for now, feel free to reopen or ping me if you need help building such a feature

@flosell flosell closed this as completed Jan 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants