Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentationLibraryLogsToScope ¶
func InstrumentationLibraryLogsToScope(rls []*otlplogs.ResourceLogs)
InstrumentationLibraryLogsToScope implements the translation of resource logs data following the v0.15.0 upgrade:
receivers SHOULD check if instrumentation_library_logs is set and scope_logs is not set then the value in instrumentation_library_logs SHOULD be used instead by converting InstrumentationLibraryLogs into ScopeLogs. If scope_logs is set then instrumentation_library_logs SHOULD be ignored.
func InstrumentationLibraryMetricsToScope ¶
func InstrumentationLibraryMetricsToScope(rms []*otlpmetrics.ResourceMetrics)
InstrumentationLibraryMetricsToScope implements the translation of resource metrics data following the v0.15.0 upgrade:
receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored.
func InstrumentationLibrarySpansToScope ¶
func InstrumentationLibrarySpansToScope(rss []*otlptrace.ResourceSpans)
InstrumentationLibraryToScope implements the translation of resource span data following the v0.15.0 upgrade:
receivers SHOULD check if instrumentation_library_spans is set and scope_spans is not set then the value in instrumentation_library_spans SHOULD be used instead by converting InstrumentationLibrarySpans into ScopeSpans. If scope_spans is set then instrumentation_library_spans SHOULD be ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.