enrich icon indicating copy to clipboard operation
enrich copied to clipboard

Stream: add health check endpoint

Open chuwy opened this issue 5 years ago • 5 comments

Migrated from https://github.com/snowplow/snowplow/issues/1912

chuwy avatar Jun 20 '20 10:06 chuwy

Hello! Any news on when something like this would be available?

ianlofs avatar Nov 03 '21 21:11 ianlofs

Hi @ianlofs , this is not on our roadmap yet to add this health endpoint in enrich.

However, we're going to release this month a new asset enrich-kinesis that aims at replacing Stream Enrich Kinesis. This asset will be able to export metrics about the number of events it enriches, either by logging them or/end by sending them to a StatsD server, with a configurable interval, thus making it possible to assert that enrich is working. The announce will be made on discourse.

benjben avatar Feb 18 '22 12:02 benjben

That's great @benjben! That definitely helps for my use case.

ianlofs avatar Feb 22 '22 16:02 ianlofs

Hey @benjben, do you have any update on this feature request? Currently, there is no easy way to deploy the enricher on Kubernetes reliable due to a missing health check mechanism.

sarahhenkens avatar Oct 02 '22 00:10 sarahhenkens

Hi @sarahhenkens ,

We've stopped adding features to Stream Enrich, as we plan to deprecate it, in favor of enrich-kinesis.

The latter doesn't have /health endpoint, but it's able to send metrics, either to a StatsD server, or in the container logs directly. Instructions to configure them can be found in our docs.

You might be able to use them for health check mechanism?

benjben avatar Oct 04 '22 13:10 benjben