- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5k
 
Open
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane teambug
Description
The metricbeat openai module makes a call to paths.Resolve to determine where to store it's cache.
| sm, err := newStateManager(paths.Resolve(paths.Data, path.Join("state", base.Module().Name(), base.Name()))) | 
This should be modified to use:
Line 92 in 78caa87
| Paths *paths.Path // per beat paths definition | 
So that module gets the correct cache on restarts.
Relates #44903
Metadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane teambug