vaadin / observability-kit

Other
5 stars 2 forks source link

Add configuration for different instrumentation levels #62

Open caalador opened 2 years ago

caalador commented 2 years ago

We should have properties for controlling what instumentation is used.

One property to consider could be vaadin.instrumentation.level with the levels of trace, detailed and info where trace would make spans for all the things, detailed for all rpc requests and info more of an overview.

Some true/false properties could be vaadin.instrumentation.request.handler, vaadin.instrumentation.rpc.sync, vaadin.instrumentation.rpc.server.event. Disabling some of these should still not make the traces bad, just collect less details.

All properties added need to add documentation in the PR.