SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
19.5k stars 1.32k forks source link

Interface definition for the collector config management in query service #1959

Closed srikanthccv closed 8 months ago

srikanthccv commented 1 year ago

Some prior context:

The original goal is to enable certain use cases that require the collector to work with the new config. Any work that will be done around this needs a way to represent the config both on the frontend and backend. Would you want to define your own types/structs that match the component's config? Or would you rather rely on the upstream config? The former can be a lot of maintenance burden since tens of components change for each release and need to be synced. We could build a tool that generates the types for both backend and frontend by parsing the collector config.

There is also a need for a common interface definition for doing CRUD on the config so that each individual does not need to repeat the same stuff. This works as a bridge b/w query service components and OpAMP.

Please add the use cases that should be covered and anything else that might be relevant here.

mindhash commented 1 year ago

Use cases for Drop rules:

Use cases for Sampling rules: