knative / eventing-contrib

Event Sources
Apache License 2.0
224 stars 225 forks source link

Implement an Eventing source for Prometheus #612

Closed syedriko closed 5 years ago

syedriko commented 5 years ago

It would be useful to be able to turn Prometheus alerts and results of PromQL queries into events.

syedriko commented 5 years ago

/assign @syedriko

matzew commented 5 years ago

/assign @syedriko

matzew commented 5 years ago

With the code written, let's update this https://knative.dev/docs/eventing/samples/writing-a-source/

to get the current steps to what it takes w/ knative.dev/okg Controller Runtime.

/cc @lberk

aslom commented 5 years ago

Let open issue to track what changes are necessary to make in docs https://knative.dev/docs/eventing/samples/writing-a-source/ ?

lionelvillard commented 5 years ago

related to https://github.com/knative/eventing/issues/2019

This PR is the first step.

I suggest to first make it easier and then update the documentation.

syedriko commented 5 years ago

Here is the initial implementation: https://github.com/knative/eventing-contrib/pull/663