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

fix(logs): (NR-371436) Clarify array support for logs #20149

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

Conversation

luckslovez
Copy link
Contributor

We've never clarified the difference in array processing between opentelemetry and the rest of ingestion mechanisms.
This PR aims to fix that.

Bascially, we stringify all arrays except for Opentelemetry homogeneous (one type) arrays.

Copy link

github-actions bot commented Mar 6, 2025

Hi @luckslovez 👋

Thanks for your pull request! Your PR is in a queue, and a writer will take a look soon. We generally publish small edits within one business day, and larger edits within three days.

We will automatically generate a preview of your request, and will comment with a link when the preview is ready (usually 10 to 20 minutes).

Copy link

netlify bot commented Mar 6, 2025

Deploy Preview for docs-website-netlify ready!

Name Link
🔨 Latest commit 5aab9ad
🔍 Latest deploy log https://app.netlify.com/sites/docs-website-netlify/deploys/67c996742d76730008308f12
😎 Deploy Preview https://deploy-preview-20149--docs-website-netlify.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -461,7 +461,8 @@ Attributes may be of any of the following types:
</td>

<td>
(unsupported)
Arrays will be _stringified_ and stored as strings. In the case of OpenTelemetry logs,
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should be using the verb stringify in our pub docs, I'd rephrase it as: "Arrays will be converted to text ..."

@@ -461,7 +461,8 @@ Attributes may be of any of the following types:
</td>

<td>
(unsupported)
Arrays will be _stringified_ and stored as strings. In the case of OpenTelemetry logs,
Copy link
Contributor

@WriteMayur WriteMayur Mar 10, 2025

Choose a reason for hiding this comment

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

Suggestion:

Suggested change
Arrays will be _stringified_ and stored as strings. In the case of OpenTelemetry logs,
Arrays are converted to strings and then stored. OpenTelemetry logs support

@@ -461,7 +461,8 @@ Attributes may be of any of the following types:
</td>

<td>
(unsupported)
Arrays will be _stringified_ and stored as strings. In the case of OpenTelemetry logs,
homogeneous arrays are supported. For more information see [arrays in OpenTelemetry](/docs/nrql/using-nrql/arrays-in-nrql/).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
homogeneous arrays are supported. For more information see [arrays in OpenTelemetry](/docs/nrql/using-nrql/arrays-in-nrql/).
homogeneous arrays. For more information see [arrays in OpenTelemetry](/docs/nrql/using-nrql/arrays-in-nrql/).

@WriteMayur WriteMayur self-assigned this Mar 10, 2025
@WriteMayur WriteMayur added content requests related to docs site content from_internal Identifies issues/PRs from Relics (except writers) labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content requests related to docs site content from_internal Identifies issues/PRs from Relics (except writers)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants