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.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.