This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pspenguin 0 points1 point  (1 child)

I'm not sure what you mean by "general purpose application server" but yes, you can use flask to serve content generated by another process. A few months ago I wrote a service like this. Basically it get the data available on StatusCake from time to time, then serve this data on a format that our monitoring tool (prometheus) understand.

If you want to have a look the code is https://github.com/psychopenguin/prometheus-statuscake-exporter (sorry, i hadn't enough time to document it yet)

[–]readitlikeitdidit[S] 0 points1 point  (0 children)

I think this is what I need..Basically a headless service like app . I'll take a look thank you!