json

package
v1.87.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DependenciesFromDomain

func DependenciesFromDomain(dependencyLinks []model.DependencyLink) []json.DependencyLink

DependenciesFromDomain converts []model.DependencyLink into []json.DependencyLink format.

func FromDomain

func FromDomain(trace *model.Trace) *json.Trace

FromDomain converts model.Trace into json.Trace format. It assumes that the domain model is valid, namely that all enums have valid values, so that it does not need to check for errors.

func FromDomainEmbedProcess

func FromDomainEmbedProcess(span *model.Span) *json.Span

FromDomainEmbedProcess converts model.Span into json.Span format. This format includes a ParentSpanID and an embedded Process.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL