Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[fluentd-gcp addon] Update Stackdriver plugin to version 0.6.7#52565

Merged
k8s-github-robot merged 1 commit into
kubernetes:masterfrom
crassirostris:sd-logging-update-plugin-0.6.7
Sep 20, 2017
Merged

[fluentd-gcp addon] Update Stackdriver plugin to version 0.6.7#52565
k8s-github-robot merged 1 commit into
kubernetes:masterfrom
crassirostris:sd-logging-update-plugin-0.6.7

Conversation

@crassirostris
Copy link
Copy Markdown

@crassirostris crassirostris commented Sep 15, 2017

A new gem among all fixes Java logging severity parsing and string timestamp parsing

Also sync the buffer size with the gem guidelines, making it 1M instead of 2M.

/cc @igorpeshansky

@crassirostris crassirostris added area/logging area/platform/gce area/provider/gcp Issues or PRs related to gcp provider release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. labels Sep 15, 2017
@crassirostris crassirostris added this to the v1.8 milestone Sep 15, 2017
@crassirostris crassirostris requested a review from piosz September 15, 2017 19:53
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@crassirostris: GitHub didn't allow me to request PR reviews from the following users: igorpeshansky.

Note that only kubernetes members can review this PR, and authors cannot review their own PRs.

Details

In response to this:

Fixes Java logging severity parsing and string timestamp parsing

/cc @igorpeshansky

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 15, 2017
detect_json true
# Collect metrics in Prometheus registry about plugin activity.
enable_monitoring true
monitoring_type prometheus
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this a good time to sync with the official config and make the buffer_chunk_size smaller (we have it at 1M)? Smaller bundles have less latency, allowing for more throughput with fewer threads... Also below.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done, thanks!

@crassirostris crassirostris force-pushed the sd-logging-update-plugin-0.6.7 branch from 6f35b6c to a71d946 Compare September 15, 2017 20:09
@@ -375,7 +377,7 @@ data:
buffer_queue_full_action block
# Set the chunk limit conservatively to avoid exceeding the GCL limit
# of 10MiB per write request.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Want to sync this comment too?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good catch, thanks, done

@crassirostris crassirostris force-pushed the sd-logging-update-plugin-0.6.7 branch from a71d946 to fd0e258 Compare September 15, 2017 20:17
# of 10MiB per write request.
buffer_chunk_limit 2M
# Set the chunk limit conservatively to avoid exceeding the Stackdriver
# Logging limit of 5MiB per write request.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

5MiB is not a limit, it's the recommended size. See the comment I referenced earlier (https://github.com/GoogleCloudPlatform/google-fluentd/blob/master/templates/etc/td-agent/td-agent.conf#L18)...

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Oh, from reading https://cloud.google.com/logging/quotas I had the impressions it is a limit

I'll fix the comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks!

@crassirostris crassirostris force-pushed the sd-logging-update-plugin-0.6.7 branch from fd0e258 to ae132a0 Compare September 15, 2017 20:30
Copy link
Copy Markdown

@igorpeshansky igorpeshansky left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@piosz
Copy link
Copy Markdown
Member

piosz commented Sep 18, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 18, 2017
@crassirostris
Copy link
Copy Markdown
Author

/approve no-issue

@k8s-github-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crassirostris, piosz

Associated issue requirement bypassed by: crassirostris

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 18, 2017
@spiffxp
Copy link
Copy Markdown
Contributor

spiffxp commented Sep 18, 2017

/retest

@fejta-bot
Copy link
Copy Markdown

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to @fejta).

Review the full test history for this PR.

@crassirostris
Copy link
Copy Markdown
Author

/retest

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 19, 2017
@dims
Copy link
Copy Markdown
Member

dims commented Sep 20, 2017

/retest

@k8s-github-robot k8s-github-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 20, 2017
@crassirostris
Copy link
Copy Markdown
Author

/restart

@dims
Copy link
Copy Markdown
Member

dims commented Sep 20, 2017

/test pull-kubernetes-unit

@k8s-github-robot
Copy link
Copy Markdown

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link
Copy Markdown

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here..

@k8s-github-robot k8s-github-robot merged commit 74604d1 into kubernetes:master Sep 20, 2017
@wojtek-t wojtek-t added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cherrypick-candidate labels Oct 2, 2017
@wojtek-t wojtek-t modified the milestones: v1.8, v1.7 Oct 2, 2017
k8s-github-robot pushed a commit that referenced this pull request Oct 2, 2017
…-#52565-upstream-release-1.7

Automatic merge from submit-queue.

Automated cherry pick of #52565

Cherry pick of #52565 on release-1.7.

#52565: Update Stackdriver plugin to version 0.6.7

```release-note
[fluentd-gcp addon] Update Stackdriver plugin to version 0.6.7
```
@k8s-cherrypick-bot
Copy link
Copy Markdown

Commit found in the "release-1.7" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/logging area/platform/gce area/provider/gcp Issues or PRs related to gcp provider cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants