Skip to content

Conversation

@xd4rker
Copy link
Contributor

@xd4rker xd4rker commented Oct 16, 2025

Closes Graylog2/graylog-plugin-enterprise#12201

Description

Introduced an InputsMetricsSupplier that collects the count of each input type. These counts will be submitted to PostHog during the scheduled execution of TelemetrySubmissionPeriodical as a single event named Inputs Metrics.

Example event properties:

{
  "cluster_id": "<UUID>",
  "beats_2_input": 2,
  "beats_kafka_input": 1,
  "gelf_http_input": 1,
  ...
}

How Has This Been Tested?

Tested on a local instance + unit tests.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@xd4rker xd4rker requested a review from a team October 16, 2025 15:48
@xd4rker xd4rker changed the title Create provider for Input-type frequency Create inputs metrics supplier Oct 27, 2025
Copy link
Contributor

@fpetersen-gl fpetersen-gl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the extensive documentation and tests! ❤️

@xd4rker xd4rker merged commit 37e51a9 into master Nov 5, 2025
31 of 33 checks passed
@xd4rker xd4rker deleted the feature/inputs-metrics-supplier branch November 5, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants