-
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: count connector #17912
Comments
Are connectors now available upstream? Is there a blog post or announcement that would help understand the context of this new work? This looks great :) |
It is too soon to announce connectors as ready for use, as the collector does not yet contain the logic that will integrate connectors into pipelines. However, the Looking ahead towards an eventual announcement though, I think it would helpful to launch with a few straightforward connectors such as this one. These can serve as a proof points for the framework and provide some very accessible value right away. |
I'll gladly be a sponsor for this one. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
@djaglowski I think this pr can be closed by #18104 |
The purpose and use-cases of the new component
The
count
connector emits metrics representing the number of signals observed by the connector. For example, the number of spans, data points, or log records.Initial proposal
A minimal implementation that counts spans, data points, and log records. Counts should be specific to each resource. There should be a reasonable default name for each count metric, but the names should be customizable via the configuration.
Future enhancements
The connector could be enhanced to emit counts on an interval, such as every 60s. Counts would be aggregated during the interval and then cleared upon being emitted.
It should be possible enhance the connector by providing conditional counting capabilities. Likely, this would be based on
ottl
, but the general idea is that the configuration would allow the user to specify one or more conditions that must be met in order for the signal to be counted. For example:Example configuration for the component
Telemetry data types supported
traces
metrics
logs
metrics
metrics
metrics
Is this a vendor-specific component?
Sponsor (optional)
No response
Additional context
Connectors are a new type of component that consume signals from one or more pipelines and emit signals onto one or more other pipelines. For more details on the overall design see open-telemetry/opentelemetry-collector#2336.
The text was updated successfully, but these errors were encountered: