-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
New component: Signal to metrics connector #35930
Labels
Accepted Component
New component has been sponsored
Comments
lahsivjar
added
needs triage
New item requiring triage
Sponsor Needed
New component seeking sponsor
labels
Oct 22, 2024
This was referenced Oct 29, 2024
I think this is a great idea. Am I correct in understanding that it depends on #35621? |
Partially. In our current implementation, we have circumvented this by an internal get editor function which we use to create OTTL statement from data expressions - so not exactly a blocker. |
I'm willing to sponsor this. |
ChrsMark
added
Accepted Component
New component has been sponsored
and removed
Sponsor Needed
New component seeking sponsor
labels
Nov 20, 2024
andrzej-stencel
pushed a commit
that referenced
this issue
Nov 25, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds boilerplate code for a new signal to metrics connector. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Part of #35930 <!--Describe what testing was performed and which tests were added.--> #### Testing Unit tests provided as required. <!--Describe the documentation added.--> #### Documentation Added basic README. Will add more details with future commits. <!--Please delete paragraphs that you did not use before submitting.--> CC: @ChrsMark --------- Co-authored-by: Christos Markou <chrismarkou92@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The purpose and use-cases of the new component
Signal to metrics connector can produce metrics from all signal types (
logs
,metrics
, andtraces
).The currently available connectors like countconnector, spanmetricsconnector, sumconnector can perform specific tasks and become a bit hard to use with evolving use-cases. Signal to metrics connector will utilize OTTL expressions to make data manipulation from the incoming signals configurable, thus allowing the component to serve a wider range of use-cases.
The OTTL expressions can be configured depending on the metric types. For example: for histograms and exponential histograms,
count
andvalue
could be retrieved based on separate OTTL expressions whereas, for sum metric the value could be retrieved from a singlevalue
OTTL expression.Example configuration for the component
Generic configuration
Count connector use-cases
Sum connector use-cases
Span metrics connector use-cases
Convert a gauge metric to a histogram
Telemetry data types supported
traces
,metrics
, andlogs
Is this a vendor-specific component?
NO
Code Owner(s)
@lahsivjar
Sponsor (optional)
@ChrsMark
Additional context
We, at Elastic, have a working version of this component with a lot of the features for spans, datapoints, and, logrecords already developed and we would like to contribute the component upstream as we believe it could be useful to the community.
The text was updated successfully, but these errors were encountered: