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

docs: update JS examples to replace deprecated attributes & align angular examples #6390

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

GauthierPLM
Copy link

@GauthierPLM GauthierPLM commented Nov 6, 2024

Summary

Replace the deprecated SemanticResourceAttributes.SERVICE_NAME with ATTR_SERVICE_NAME and remove SemanticResourceAttributes.SERVICE_VERSION from Angular examples to align them with other JS examples.


Important

Update JavaScript examples to replace deprecated attributes and align Angular examples with other JavaScript examples.

  • Behavior:
    • Replace SemanticResourceAttributes.SERVICE_NAME with ATTR_SERVICE_NAME in Angular and Express examples.
    • Remove SemanticResourceAttributes.SERVICE_VERSION from Angular examples.
  • Files:
    • Updates in angular-docker-quickStart-instrumentApplication.md, angular-linuxamd64-quickStart-instrumentApplication.md, and express-docker-quickStart-instrumentApplication.md.
    • Similar changes in 50 other files.

This description was created by Ellipsis for a2d5d36. It will automatically update as commits are pushed.

Copy link

welcome bot commented Nov 6, 2024

Welcome to the SigNoz community! Thank you for your first pull request and making this project better. 🤗

@CLAassistant
Copy link

CLAassistant commented Nov 6, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to a2d5d36 in 1 minute and 5 seconds

More details
  • Looked at 2211 lines of code in 82 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. frontend/src/container/OnboardingContainer/Modules/APM/Javascript/md-docs/Angular/Docker/QuickStart/angular-docker-quickStart-instrumentApplication.md:28
  • Draft comment:
    Ensure that the removal of SemanticResourceAttributes.SERVICE_VERSION is intentional and aligns with the updated best practices for OpenTelemetry usage. This change is consistent across multiple files.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR aims to replace deprecated attributes with updated ones. The change from SemanticResourceAttributes.SERVICE_NAME to ATTR_SERVICE_NAME is consistent across the files. However, the removal of SemanticResourceAttributes.SERVICE_VERSION is not explained in the PR description, but it aligns with the goal of updating deprecated attributes. The changes are consistent and align with the intent of the PR.

Workflow ID: wflow_OdttCTxbHWMoHkeS


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Replace use of deprecated SemanticResourceAttributes.SERVICE_NAME by ATTR_SERVICE_NAME.
 Remove SemanticResourceAttributes.SERVICE_VERSION from Angular examples to align with other examples.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants