Documentation ¶
Index ¶
- func AddRoutes(router gin.IRouter, bindplane server.BindPlane)
- type NodeIDResolver
- type Resolver
- func (r *Resolver) Agent() generated.AgentResolver
- func (r *Resolver) AgentSelector() generated.AgentSelectorResolver
- func (r *Resolver) AgentUpgrade() generated.AgentUpgradeResolver
- func (r *Resolver) Configuration() generated.ConfigurationResolver
- func (r *Resolver) Destination() generated.DestinationResolver
- func (r *Resolver) DestinationType() generated.DestinationTypeResolver
- func (r *Resolver) Metadata() generated.MetadataResolver
- func (r *Resolver) ParameterDefinition() generated.ParameterDefinitionResolver
- func (r *Resolver) Processor() generated.ProcessorResolver
- func (r *Resolver) ProcessorType() generated.ProcessorTypeResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) RelevantIfCondition() generated.RelevantIfConditionResolver
- func (r *Resolver) Source() generated.SourceResolver
- func (r *Resolver) SourceType() generated.SourceTypeResolver
- func (r *Resolver) Subscription() generated.SubscriptionResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeIDResolver ¶ added in v1.3.0
type NodeIDResolver func(metric *record.Metric, position model.MeasurementPosition, pipelineType bpotel.PipelineType, resourceName string) string
NodeIDResolver is a function that assigns the appropriate NodeID to a GraphMetric based on its position, pipelineType, and resourceName parsed out of the metric processor name. If an empty string is returned, this metric will be ignored.
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver TODO(doc)
func NewResolver ¶
NewResolver returns a new Resolver and starts a go routine that sends agent updates to observers.
func (*Resolver) Agent ¶
func (r *Resolver) Agent() generated.AgentResolver
Agent returns generated.AgentResolver implementation.
func (*Resolver) AgentSelector ¶
func (r *Resolver) AgentSelector() generated.AgentSelectorResolver
AgentSelector returns generated.AgentSelectorResolver implementation.
func (*Resolver) AgentUpgrade ¶ added in v1.0.0
func (r *Resolver) AgentUpgrade() generated.AgentUpgradeResolver
AgentUpgrade returns generated.AgentUpgradeResolver implementation.
func (*Resolver) Configuration ¶
func (r *Resolver) Configuration() generated.ConfigurationResolver
Configuration returns generated.ConfigurationResolver implementation.
func (*Resolver) Destination ¶
func (r *Resolver) Destination() generated.DestinationResolver
Destination returns generated.DestinationResolver implementation.
func (*Resolver) DestinationType ¶
func (r *Resolver) DestinationType() generated.DestinationTypeResolver
DestinationType returns generated.DestinationTypeResolver implementation.
func (*Resolver) Metadata ¶
func (r *Resolver) Metadata() generated.MetadataResolver
Metadata returns generated.MetadataResolver implementation.
func (*Resolver) ParameterDefinition ¶
func (r *Resolver) ParameterDefinition() generated.ParameterDefinitionResolver
ParameterDefinition returns generated.ParameterDefinitionResolver implementation.
func (*Resolver) Processor ¶ added in v0.5.2
func (r *Resolver) Processor() generated.ProcessorResolver
Processor returns generated.ProcessorResolver implementation.
func (*Resolver) ProcessorType ¶ added in v0.5.2
func (r *Resolver) ProcessorType() generated.ProcessorTypeResolver
ProcessorType returns generated.ProcessorTypeResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) RelevantIfCondition ¶
func (r *Resolver) RelevantIfCondition() generated.RelevantIfConditionResolver
RelevantIfCondition returns generated.RelevantIfConditionResolver implementation.
func (*Resolver) Source ¶
func (r *Resolver) Source() generated.SourceResolver
Source returns generated.SourceResolver implementation.
func (*Resolver) SourceType ¶
func (r *Resolver) SourceType() generated.SourceTypeResolver
SourceType returns generated.SourceTypeResolver implementation.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated.SubscriptionResolver
Subscription returns generated.SubscriptionResolver implementation.