envoyproxy/envoy

event emission: implement generic event reporting gRPC client

Open

#10.966 geöffnet am 27. Apr. 2020

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/observabilityarea/service discoverydesign proposalhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

#10407 added proto definitions for a generic event reporting service. This issue tracks implementation details.

  1. Using a bidi stream where Envoy updates the emission stream based on responses from the sink gRPC service allows for in-band flexibility. Both for:
  • The types of events that Envoy emits, e.g, filter to only health check events.
  • The shape of the events emitted, e.g, configure the metrics events to report counters as deltas.
  1. The base implementation should account for generic logic, such as:
  • Stream establishment, and callbacks for custom logic over messages in the stream
  • Handling versioning of in-band config updates so that the server-side gRPC service is aware of the configuration of the data stream -- useful when the shape of the data can change via in-band config updates.

Relates to https://github.com/envoyproxy/envoy/issues/8970 and https://github.com/envoyproxy/envoy/issues/10968

Contributor Guide