-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Updated stackdriver exporter #1427
Updated stackdriver exporter #1427
Conversation
FYI @igorpeshansky @qingling128 - this would have been a good issue to get you to look into in hindsight |
Codecov Report
@@ Coverage Diff @@
## master #1427 +/- ##
==========================================
- Coverage 88.74% 88.74% -0.01%
==========================================
Files 343 343
Lines 16693 16728 +35
==========================================
+ Hits 14815 14846 +31
- Misses 1417 1421 +4
Partials 461 461
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Since the config is change it would be useful to describe it in the CHANGELOG's Breaking Changes section.
Also, see if you can increase the coverage, the new code seems mostly uncovered.
2c9ac4f
to
2bcd9b1
Compare
Added
Extended the tests to cover various bundling configuration options |
2bcd9b1
to
c46694b
Compare
c46694b
to
f7eddaa
Compare
type TraceConfig struct { | ||
BundleDelayThreshold time.Duration `mapstructure:"bundle_delay_threshold"` | ||
BundleCountThreshold int `mapstructure:"bundle_count_threshold"` | ||
BundleByteThreshold int `mapstructure:"bundle_byte_threshold"` | ||
BundleByteLimit int `mapstructure:"bundle_byte_limit"` | ||
BufferMaxBytes int `mapstructure:"buffer_max_bytes"` | ||
} |
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.
@james-bebbington not for this PR, but bundle options are overkill. We already provide queuing and batching in the collector, and ideally the exporter should not do more than that.
* Update approvers, create triagers. Signed-off-by: Bogdan Drutu <[email protected]> * Update README.md Co-authored-by: Tigran Najaryan <[email protected]> Co-authored-by: Tigran Najaryan <[email protected]>
Signed-off-by: Guangwen Feng <[email protected]>
Description:
Breaking Changes:
metric_prefix
&skip_create_metric_descriptor
undermetric
to tidy up the config (happy to revert if people think we should avoid this, but I thought it useful to streamline the config a bit for clarity)cc @nilebox @dashpole