src/go/plugin/agent/runtimechartemit/README.md
This package is the runtime/internal metrics bridge between component-owned
metrix.RuntimeStore writers and Netdata chart protocol output.
metrix.RuntimeStore (writer side).runtimecomp.Service.RegisterComponent(...) with:
NameStoreTemplateYAML (or Autogen.Enabled=true for fallback template)UpdateEvery) and emit env metadata (TypeID, Plugin, Module, JobName, JobLabels).Read(metrix.ReadRaw(), metrix.ReadFlatten())chartemit.ApplyPlan(...).Service.Start(pluginName, out) starts runtime metrics job and cadence ticker.Service.Stop() stops ticker and runtime job.UnregisterComponent permits an in-progress tick to finish and emits
obsolete/remove actions on a later tick.QuarantineComponent removes a component without obsolete output and
returns only after no component output can reach the wire.FinalizeComponent synchronously emits the current Store state, removes the
component without obsolete output, and provides the same output barrier.tickFn callback via RegisterProducer when a runtime source has no independent owner loop and must be advanced by runtime service cadence.WithRuntimeStore(nil) (no self-instrumentation loop).Name is the registry identity; re-registering the same name replaces generation and reinitializes runtime chart state.