-
Task
-
Resolution: Done
-
Blocker
-
None
-
2
-
False
-
None
-
False
-
NEW
-
OBSDA-228 - Log filtering and collecting
-
NEW
-
Release Note Not Required
-
-
-
Log Collection - Sprint 250, Log Collection - Sprint 251
Summary
Refactor the input selection API of namespaces and containers to make the intention of what is included or excluded more obvious to users of the API
Acceptance Criteria
- Verify the API is updated to:
application: selector: #labelselector namespaces: []string includes: - namespace: #glob container: #glob excludes: - namespace #glob container #glob
- Verify when an include/exclude entry only defines "namespace" that it applies to all containers (e.g. *)
- Verify when an include/exclude entry only defines "container" that it applies to all namespaces (e.g. *)
- Verify multiple includes combinations results in logs included from each of the matches
- Verify multiple excludes combinations results in logs excluded from each of the matches
- Verify only includes that are not in the excludes list are matched. (i.e. excludes take precedence and are run first)
- Verify the CEE documentation is updated to reflect the changes
- Verify the enhancement documentation is updated to reflect the changes
- Verify "namespaces" field as marked as deprecated
- Verify the entries of the "namespaces" field are added to the list of "includes" in the generated configuration
- Verify related/linked bugs are resolved
- relates to
-
LOG-5162 Container logs from infra projects are collected when setting `namespaces: ["*"]` or `containers.include: ["*"]`.
- Closed
- links to