Skip to content
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

AppMesh: Add annotation to enable Envoy access logs #1156

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

aryan9600
Copy link
Member

Signed-off-by: Sanskar Jaiswal sanskar.jaiswal@weave.works
Co-authored-by: wucg wucg@trip.com

@aryan9600 aryan9600 requested a review from stefanprodan as a code owner March 22, 2022 09:44
@codecov-commenter
Copy link

codecov-commenter commented Mar 22, 2022

Codecov Report

Merging #1156 (a22638f) into main (cc7b35b) will increase coverage by 0.10%.
The diff coverage is 100.00%.

❗ Current head a22638f differs from pull request most recent head 5b6da2a. Consider uploading reports for the commit 5b6da2a to get more accurate results

@@            Coverage Diff             @@
##             main    #1156      +/-   ##
==========================================
+ Coverage   56.65%   56.75%   +0.10%     
==========================================
  Files          79       79              
  Lines        6591     6607      +16     
==========================================
+ Hits         3734     3750      +16     
  Misses       2301     2301              
  Partials      556      556              
Impacted Files Coverage Δ
pkg/router/appmesh.go 85.80% <100.00%> (+0.38%) ⬆️
pkg/router/appmesh_v1beta2.go 88.37% <100.00%> (+0.25%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc7b35b...5b6da2a. Read the comment docs.

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

Please add the annotation to the AppMesh docs and explain what it does.

@@ -62,6 +62,9 @@ Create a canary definition:
apiVersion: flagger.app/v1beta1
kind: Canary
metadata:
annotations:
# Enable virtual node logging to stdout.
"appmesh.flagger.app/accesslog": enabled
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"appmesh.flagger.app/accesslog": enabled
appmesh.flagger.app/accesslog: enabled

@@ -62,6 +62,9 @@ Create a canary definition:
apiVersion: flagger.app/v1beta1
kind: Canary
metadata:
annotations:
# Enable virtual node logging to stdout.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Enable virtual node logging to stdout.
# Enable Envoy access logging to stdout.

Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works>
Co-authored-by: wucg <wucg@trip.com>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

@stefanprodan stefanprodan changed the title Add annotation to enable appmesh logs AppMesh: Add annotation to enable Envoy access logs Mar 22, 2022
@stefanprodan stefanprodan added the kind/enhancement Improvement request for an existing feature label Mar 22, 2022
@stefanprodan stefanprodan merged commit c68998d into fluxcd:main Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvement request for an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants