elastic / elastic/logstash

[Discuss] Should we allow users to disable collection of metrics

Open
#6,298 6 comments 0 reactions 0 assignees View on GitHub
discuss monitoring
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

@L4rS6 discovered an issue with our metric collection; it doesn't work when procfs is not mounted.
For security reason users can disable the access of procfs, this restriction will make logstash crash at startup.

For me, its a bug and we should resolve #6296, but let's open the discussion should we allow users to be able to disable the metric collection? Because right now 5.0 is not usable in that scenario and there is no workaround until we fixed the issue.

Contributor guide

Open the contributing guide

Research direction

Start with issue #6296 and the procfs-related metric collection behavior described here. Determine how disabling collection should affect startup and define acceptance criteria for users who cannot access procfs; the issue currently provides no named files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.