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

WIP: configuration cleanup. #141

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
10a44bc
Add copyright notice to the otel test.
igorpeshansky Jul 22, 2021
207bf72
Fix invalid receiver type in test input.
igorpeshansky Jul 30, 2021
81d08a7
Fix typos in exporters warnings.
igorpeshansky Jul 31, 2021
045a1e9
Add missing test for invalid logging and metrics receiver types on Li…
igorpeshansky Jul 31, 2021
f503293
Add flow annotations to make the generated configs a bit nicer.
igorpeshansky Jul 9, 2021
5f31d91
Move fluentbit and otel config generation under confgenerator.
igorpeshansky Jul 22, 2021
1201e3d
Annotate optional fields with the `config:"optional"` tag.
igorpeshansky Jul 29, 2021
9311420
Rename "component" to "kind" everywhere.
igorpeshansky Jul 30, 2021
5288ebf
Use a custom unmarshaler for the logging receiver types.
igorpeshansky Jul 30, 2021
5fd4832
Rename type map to registry; embed subagent and kind in the registry.
igorpeshansky Jul 30, 2021
6441afb
Embed Type in LoggingReceiver.
igorpeshansky Jul 30, 2021
3872f37
Move custom parameter validation for logging receivers into ValidateP…
igorpeshansky Jul 31, 2021
cce48d9
Use a custom unmarshaler for the logging processor types.
igorpeshansky Jul 31, 2021
dd625cc
Use a custom unmarshaler for the logging exporter types.
igorpeshansky Jul 31, 2021
261dbb5
Use a custom unmarshaler for the metrics receiver types.
igorpeshansky Jul 31, 2021
cfbbafe
Use a custom unmarshaler for the metrics processor types.
igorpeshansky Jul 31, 2021
c123eaa
Use a custom unmarshaler for the metrics exporter types.
igorpeshansky Jul 31, 2021
3440618
Factor out common type registration code.
igorpeshansky Jul 31, 2021
1291686
Reorder functions to group metrics generation and logging generation.
igorpeshansky Aug 1, 2021
2698657
Inline extract.*Factories functions.
igorpeshansky Aug 4, 2021
c387012
Eliminate otel receiver factories.
igorpeshansky Aug 4, 2021
c2cb23a
Eliminate otel processor factories.
igorpeshansky Aug 4, 2021
01fd6d3
Eliminate fluentbit receiver factories.
igorpeshansky Aug 4, 2021
294d2a8
Don't mangle otel entity ids.
igorpeshansky Aug 4, 2021
24d757d
Cosmetic: reorder otel structs for consistency.
igorpeshansky Aug 4, 2021
5d3a61a
Unify otel's HostMetrics, IIS, and MSSQL structs under the otel.Recei…
igorpeshansky Aug 4, 2021
29c4b96
Use the otel.Receiver interface instead of the receiver name map.
igorpeshansky Aug 4, 2021
eca881b
Wrap otel's ExcludeMetrics into the otel.Processor interface, and ote…
igorpeshansky Aug 5, 2021
ccd3a5d
Use lists instead of strings in otel.Service representation.
igorpeshansky Aug 5, 2021
2a23768
Reorder fluentbit templates to match the corresponding config type.
igorpeshansky Aug 5, 2021
211673a
Render fluentbit config from a single set of templates.
igorpeshansky Aug 5, 2021
084affa
Use fluentbit.Config structs to generate configuration.
igorpeshansky Aug 5, 2021
cfe8e45
Remove internal validation from the fluentbit config generator, as it…
igorpeshansky Aug 5, 2021
e34f779
Use consistent ordering of options in fluent-bit configs.
igorpeshansky Aug 5, 2021
a8e6f6d
Sort input fluentbit config entities instead of the generated text.
igorpeshansky Aug 5, 2021
e6cda07
Switch to explicit template rendering for fluentbit config components.
igorpeshansky Aug 6, 2021
c08fcf2
Standardize on the Diff library and the order of diffs.
igorpeshansky Aug 6, 2021
d5e9046
Unify fluentbit's Tail, Syslog, and WindowsEventlog structs under the…
igorpeshansky Aug 6, 2021
ef84963
Use `validate:"required"` to indicate required fields (instead of `co…
igorpeshansky Aug 6, 2021
14d94c3
WIP: Attempt to reconstruct previous validation error messages.
igorpeshansky Jul 30, 2021
7e78333
Emit a more neutral error message on validation errors at unmarshal t…
igorpeshansky Aug 6, 2021
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
9 changes: 3 additions & 6 deletions confgenerator/built-in-config-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ logging:
service:
pipelines:
default_pipeline:
receivers:
- syslog
receivers: [syslog]
metrics:
receivers:
hostmetrics:
Expand All @@ -22,7 +21,5 @@ metrics:
service:
pipelines:
default_pipeline:
receivers:
- hostmetrics
processors:
- metrics_filter
receivers: [hostmetrics]
processors: [metrics_filter]
16 changes: 4 additions & 12 deletions confgenerator/built-in-config-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ logging:
receivers:
windows_event_log:
type: windows_event_log
channels:
- System
- Application
- Security
channels: [System, Application, Security]
service:
pipelines:
default_pipeline:
receivers:
- windows_event_log
receivers: [windows_event_log]
metrics:
receivers:
hostmetrics:
Expand All @@ -29,9 +25,5 @@ metrics:
service:
pipelines:
default_pipeline:
receivers:
- hostmetrics
- iis
- mssql
processors:
- metrics_filter
receivers: [hostmetrics, iis, mssql]
processors: [metrics_filter]
Loading