Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ingest Manager] Replace datasources with inputs when generating agent config #69226

Merged
merged 6 commits into from
Jun 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ const CONFIG_KEYS_ORDER = [
'name',
'revision',
'type',
'outputs',
'settings',
'datasources',
'outputs',
'inputs',
'enabled',
'use_output',
'package',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to move this under meta. All things that the agent does not directly understand but potentially should be used for logging, should go into a meta object. I assume currently this has no effect on the agent side? @michalpristas ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agent uses this to group inputs together and provide per output configurations as current implementation is one beat per output, we rely heavily on this field. if it's not present in the tree (input upwards) we assume default output

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michalpristas I think you talk about line 18 here with the output? I'm referring to line 19.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh ok, i think we dont use package

'input',
];
Expand Down

This file was deleted.

This file was deleted.

Loading