elastic / elastic/elastic-package

Support system tests on elastic_agent package

Open
#2,903 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
72
Forks
141
Avg merge
19h 42m
Merged PRs (30d)
55

Description

The `elastic_agent` package is a special case. It contains data streams, but these data streams don't contain any agent configuration. These data streams are intended to store the data sent by Elastic Agent.

The main difference with other packages is that the policy created doesn't need to have any package policy, but it needs to enable self-monitoring, what makes the agent start sending data to the installed datastreams.
Then the test should proceed as usual, checking the data stream and the documents stored.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing system tests for other packages and the code that creates their policies and checks data streams. Compare that flow with the elastic_agent package: its policy should have no package policy but must enable self-monitoring. Done means the test runs through the usual data-stream and stored-document checks for elastic_agent.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.