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

Skip to content

Ability to add more comments with the Commenter Feature #192

@debuggerpk

Description

@debuggerpk

GCP CloudSQL Commenter add a couple of keys e.g. action, route etc which are visible in CloudSQL Query insights. In those keys, action key is very interesting. It would be wonderful if we can add more comments to the query.

I have been playing the library a little bit but I can't seem to wrap to head around this line.

c.propagator.Inject(ctx, &cc)

My debugging investigation shows that traceparent becomes available in context after this line. I believe this happens because we are instantiating it with propagation.NewCompositeTextMapPropagator()

Is there a way we can set more keys for commentCarrier when setting the context of the query?

PS: thankyou for the wonderful work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions