Repository navigation
add telemetry hook implementation guidelines - #348
Conversation
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Summary of ChangesHello @beeme1mr, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces comprehensive guidelines for implementing observability hooks that emit OpenTelemetry signals during feature flag evaluations. The new guide, added to the specification's appendix, aims to standardize how maintainers write telemetry hooks across various SDKs by detailing signal emission patterns, hook lifecycle responsibilities, attribute transformations, and privacy considerations for flag values. This will facilitate consistent and robust telemetry integration. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds a comprehensive and well-structured guide for implementing telemetry hooks. The documentation covers important aspects like signal emission patterns, hook lifecycle, attribute transformations, privacy, configuration, and error handling. I've added a couple of suggestions to improve the clarity and precision of the guidelines, which is important for a specification document. Overall, this is a valuable addition.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
|
@beeme1mr Please clarify what the span event name should be - |
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
askpt
left a comment
There was a problem hiding this comment.
LGTM! Just two minor questions in case they're typos.
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com> Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com> Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
|
I'll merge tomorrow (Nov 5th) unless someone objects. |
This PR
Notes
This is based on the updated telemetry hook @lukas-reining wrote. I tried to capture as much context as possible so that other maintainers can understand how the hook should be written.
Since this is in the appendix section, I decided to make the guide human-readable instead of just a list of requirements.
Follow-up Tasks
Create implementation issues for all SDKs based on these guidelines.