Skip to content

[Fleet] OTel input packages should use the receiver dataset by default #237145

@jsoriano

Description

@jsoriano

Input packages use the name of the policy template as default dataset.

In the case of OTel, the default dataset should be the name of the receiver that collects the data. This is the default dataset used with community receivers. Aligning on that will help with content packages, for example the MySQL content package expects documents to contain mysqlreceiver.otel dataset (see here).

To implement this, two things would need to be implemented:

  • The dataset entry should be empty for OTel input packages when creating a new policy. And should be optional.
  • If left empty, the transform used for routing should not include any dataset, so default is used (this value is set here).

An alternative implementation could be based on using by default the name of the receiver, but this would need to be declared somehow in the package, what would require changes in package-spec and could be more prone to errors.

Metadata

Metadata

Assignees

Labels

Team:FleetTeam label for Observability Data Collection Fleet teambugFixes for quality problems that affect the customer experience

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions