-
Notifications
You must be signed in to change notification settings - Fork 5k
Add OTEL metrics to cel input #47014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
StacieClark-Elastic
merged 39 commits into
elastic:main
from
StacieClark-Elastic:Add-metrics-CEL-609
Dec 15, 2025
+15,267
−13,981
Merged
Changes from 20 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
7fb585a
Add-metrics-CEL-609 checkpoint
StacieClark-Elastic 8379a77
Add-metrics-CEL-609 added conversion of http method histogram metrics…
StacieClark-Elastic 1ccd5c5
Add-metrics-CEL-609 updated README.md
StacieClark-Elastic 8b36376
Add-metrics-CEL-609 removed interval export. Changed histograms to Ex…
StacieClark-Elastic 5c03586
Add-metrics-CEL-609 refactored ExporterFactory
StacieClark-Elastic b4fdd67
Add-metrics-CEL-609
StacieClark-Elastic 829cd7e
Add-metrics-CEL-609 exporter is now shared among all cel inputs.
StacieClark-Elastic eccf80b
Add-metrics-CEL-609
StacieClark-Elastic 597cb44
Add-metrics-CEL-609 Added a unit test for cel_metrics.go
StacieClark-Elastic 7455988
Add-metrics-CEL-609 fixed missing http attribute in readme
StacieClark-Elastic 0ff941d
Add-metrics-CEL-609 added license headers
StacieClark-Elastic 635fa5c
Add-metrics-CEL-609 fixed some linter errors
StacieClark-Elastic 16234c2
Changed attribute package.datastream to package.data_stream
StacieClark-Elastic bd13d1e
Add-metrics-CEL-609 added changelog. Fix go.mod
StacieClark-Elastic ac013bb
fixed some linter errors
StacieClark-Elastic 9b8f092
Add package data only to cel inputs
StacieClark-Elastic 6bc8c38
data.json files are made identical to main
StacieClark-Elastic 8e7319e
data.json files forced to be like those in main
StacieClark-Elastic 0ab4fc3
updated NOTICE.txt
StacieClark-Elastic 69afb7b
Fixed linter error for unchecked error in type assertion
StacieClark-Elastic ad0addd
minor fixes due to comments on PR
StacieClark-Elastic b3e4fd7
Merge branch 'main' into Add-metrics-CEL-609
StacieClark-Elastic ec7452b
Add-metrics-CEL-609 OTEL metrics transport is at same level as the 'i…
StacieClark-Elastic 962df13
Add-metrics-CEL-609 refactored ExporterFactory. Added a composite str…
StacieClark-Elastic 045eab7
Merge branch 'main' into Add-metrics-CEL-609
StacieClark-Elastic fe3d2a4
Add-metrics-CEL-609 Converted metrics collection diagram to mermaid. …
StacieClark-Elastic 951f75f
Add-metrics-CEL-609 Fixed linter errors
StacieClark-Elastic f7731a0
Merge branch 'main' into Add-metrics-CEL-609
StacieClark-Elastic beb7d7e
Add-metrics-CEL-609 fixed linter error
StacieClark-Elastic f02c58d
Merge branch 'main' into Add-metrics-CEL-609
StacieClark-Elastic 52f1d8e
Add-metrics-CEL-609 unexported otelCELMetrics. Using sync.Once() inst…
StacieClark-Elastic abeac96
Add-metrics-CEL-609 Moved godoc level documentation into a doc.go fil…
StacieClark-Elastic f869295
Add-metrics-CEL-609 added link to metrics collection points diagram
StacieClark-Elastic 3c38516
Merge branch 'main' into Add-metrics-CEL-609
StacieClark-Elastic 0aee69e
Add-metrics-CEL-609 moved replacement of context to inside of manualE…
StacieClark-Elastic 66bce44
Add-metrics-CEL-609 added missed cancel of a context
StacieClark-Elastic 8a2afee
Merge branch 'main' into Add-metrics-CEL-609
StacieClark-Elastic a55cb0e
Add-metrics-CEL-609 build updated doc.go file
StacieClark-Elastic 9eaae6f
Merge branch 'main' into Add-metrics-CEL-609
StacieClark-Elastic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
changelog/fragments/1764199697-add-cel-input-otel-metrics.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # REQUIRED | ||
| # Kind can be one of: | ||
| # - breaking-change: a change to previously-documented behavior | ||
| # - deprecation: functionality that is being removed in a later release | ||
| # - bug-fix: fixes a problem in a previous version | ||
| # - enhancement: extends functionality but does not break or fix existing behavior | ||
| # - feature: new functionality | ||
| # - known-issue: problems that we are aware of in a given version | ||
| # - security: impacts on the security of a product or a user’s deployment. | ||
| # - upgrade: important information for someone upgrading from a prior version | ||
| # - other: does not fit into any of the other categories | ||
| kind: feature | ||
|
|
||
| # REQUIRED for all kinds | ||
| # Change summary; a 80ish characters long description of the change. | ||
| summary: add OTEL metrics to CEL inputs | ||
|
|
||
| # REQUIRED for breaking-change, deprecation, known-issue | ||
| # Long description; in case the summary is not enough to describe the change | ||
| # this field accommodate a description without length limits. | ||
| # description: | ||
|
|
||
| # REQUIRED for breaking-change, deprecation, known-issue | ||
| # impact: | ||
|
|
||
| # REQUIRED for breaking-change, deprecation, known-issue | ||
| # action: | ||
|
|
||
| # REQUIRED for all kinds | ||
| # Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc. | ||
| component: filebeat | ||
|
|
||
| # AUTOMATED | ||
| # OPTIONAL to manually add other PR URLs | ||
| # PR URL: A link the PR that added the changeset. | ||
| # If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added. | ||
| # NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number. | ||
| # Please provide it if you are adding a fragment for a different PR. | ||
| # pr: https://github.com/owner/repo/1234 | ||
|
|
||
| # AUTOMATED | ||
| # OPTIONAL to manually add other issue URLs | ||
| # Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of). | ||
| # If not present is automatically filled by the tooling with the issue linked to the PR number. | ||
| # issue: https://github.com/owner/repo/1234 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.