Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Exporter/Stats/Stackdriver: Provide Deadline option and don't do retry by default.#1883

Merged
songy23 merged 4 commits intocensus-instrumentation:masterfrom
songy23:sd-ddl-option-2
May 7, 2019
Merged

Exporter/Stats/Stackdriver: Provide Deadline option and don't do retry by default.#1883
songy23 merged 4 commits intocensus-instrumentation:masterfrom
songy23:sd-ddl-option-2

Conversation

@songy23
Copy link
Copy Markdown
Contributor

@songy23 songy23 commented May 7, 2019

Stackdriver Monitoring part of #1880.

@songy23 songy23 added this to the Release 0.22.0 milestone May 7, 2019
@songy23 songy23 requested a review from bogdandrutu May 7, 2019 00:33
@songy23 songy23 requested review from a team, dinooliva and rghetia as code owners May 7, 2019 00:33
createMetricDescriptorSettings.setSimpleTimeoutNoRetries(stackdriverDuration);
createTimeSeriesSettings.setSimpleTimeoutNoRetries(stackdriverDuration);
} else {
/*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly with tracing - iiuc, the only way to get the default retry settings is to explicitly set the deadline - will that negatively impact any customers, i.e. are there customers that have been relying on retries?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar comment to #1881 (comment). I'll add a commit to allow users to use a custom MetricClient so that they can use custom settings.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the new option in 730e37a, PTAL.

@songy23 songy23 force-pushed the sd-ddl-option-2 branch from 67d2b98 to 1d87183 Compare May 7, 2019 20:17
@songy23 songy23 merged commit 7c524f5 into census-instrumentation:master May 7, 2019
@songy23 songy23 deleted the sd-ddl-option-2 branch May 7, 2019 21:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants