-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
enhancement(external docs): Add Cue docs for component-specific metrics #4820
Conversation
2e6a49d
to
b5430b1
Compare
Seems like a good start, but we're missing quite a few. Ex: Finally, I think we'll want to note which metrics are available based on which components. So, for example, the |
@binarylogic Sorry, thought I had marked this PR as a draft. It's indeed not there yet. |
16fd43e
to
f8c47a2
Compare
@binarylogic I thought about it, and I think the way to go here is to define all of the potential metrics "lower" in the config tree as a kind of grab bag, potentially split into groups for convenience, that each component can draw from. That will enable us to have per-component granularity while also using the good parts of Cue to full effect. |
11adc2a
to
42277e6
Compare
03e701f
to
824db8d
Compare
41acffc
to
42c2f08
Compare
599c325
to
462f6ea
Compare
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
Signed-off-by: Luc Perkins <luc@timber.io>
462f6ea
to
9169269
Compare
Signed-off-by: Luc Perkins <luc@timber.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
…cs (#4820) * Begin transferring metrics Signed-off-by: Luc Perkins <luc@timber.io> * Metrics docs for sinks Signed-off-by: Luc Perkins <luc@timber.io> * Add source metrics and refactor metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Add metrics for transforms Signed-off-by: Luc Perkins <luc@timber.io> * Fill in remaining TODO descriptions Signed-off-by: Luc Perkins <luc@timber.io> * Add internal_metrics source Signed-off-by: Luc Perkins <luc@timber.io> * Fix service/aggregator discrepancy Signed-off-by: Luc Perkins <luc@timber.io> * Move Apache, MongoDB, and host metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Move Docker metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Move k8s metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Migrate internal metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Remove metrics.cue file Signed-off-by: Luc Perkins <luc@timber.io> * Apply explicit default namespace to all metrics Signed-off-by: Luc Perkins <luc@timber.io> * Refactor Splunk common metrics into separate file Signed-off-by: Luc Perkins <luc@timber.io> * Address feedback on metric descriptions Signed-off-by: Luc Perkins <luc@timber.io> * Add default namespace to AWS ECS metrics Signed-off-by: Luc Perkins <luc@timber.io> * Add _total suffix to Windows metrics Signed-off-by: Luc Perkins <luc@timber.io> * Add new options for the error_type tag Signed-off-by: Luc Perkins <luc@timber.io> * Add AWS S3+SQS metrics to docs Signed-off-by: Luc Perkins <luc@timber.io> * Refactor all vector namespace metrics into internal_metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> Signed-off-by: casserni <nicholascassera@gmail.com>
…cs (vectordotdev#4820) * Begin transferring metrics Signed-off-by: Luc Perkins <luc@timber.io> * Metrics docs for sinks Signed-off-by: Luc Perkins <luc@timber.io> * Add source metrics and refactor metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Add metrics for transforms Signed-off-by: Luc Perkins <luc@timber.io> * Fill in remaining TODO descriptions Signed-off-by: Luc Perkins <luc@timber.io> * Add internal_metrics source Signed-off-by: Luc Perkins <luc@timber.io> * Fix service/aggregator discrepancy Signed-off-by: Luc Perkins <luc@timber.io> * Move Apache, MongoDB, and host metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Move Docker metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Move k8s metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Migrate internal metrics out of metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> * Remove metrics.cue file Signed-off-by: Luc Perkins <luc@timber.io> * Apply explicit default namespace to all metrics Signed-off-by: Luc Perkins <luc@timber.io> * Refactor Splunk common metrics into separate file Signed-off-by: Luc Perkins <luc@timber.io> * Address feedback on metric descriptions Signed-off-by: Luc Perkins <luc@timber.io> * Add default namespace to AWS ECS metrics Signed-off-by: Luc Perkins <luc@timber.io> * Add _total suffix to Windows metrics Signed-off-by: Luc Perkins <luc@timber.io> * Add new options for the error_type tag Signed-off-by: Luc Perkins <luc@timber.io> * Add AWS S3+SQS metrics to docs Signed-off-by: Luc Perkins <luc@timber.io> * Refactor all vector namespace metrics into internal_metrics.cue Signed-off-by: Luc Perkins <luc@timber.io> Signed-off-by: Brian Menges <brian.menges@anaplan.com>
Addresses #4810 by adding Cue configs for the
internal_metrics
source. This PR also restructures the metrics into a singlemetrics.cue
file and adds atelemetry.metrics
block to all components to which that applies.