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

[chore] Spelling exporter #37133

Open
wants to merge 116 commits into
base: main
Choose a base branch
from
Open

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Jan 10, 2025

Description

Fix spelling in exporter/
#37128 (review)

Link to tracking issue

jsoref added 30 commits January 10, 2025 00:52
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Copy link
Member

@crobert-1 crobert-1 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, really appreciate all of the fixes!

Note: One thing that concerns me is when metric or attributes names are changed to fix typos as it may break existing functionality, but in this PR it looks like it's all test code, where a test is writing and then checking a typo. I think this PR is fine on that front.

exporter/azuredataexplorerexporter/README.md Outdated Show resolved Hide resolved
@@ -103,7 +103,7 @@ The exporter follows the semantic conventions to fill the Application Insights s
| Dependency.ResultCode | `http.status_code` or `status_code` | `"0"` |
| Dependency.Success | `http.status_code` or `status_code` | `true` |

The exact mapping can be found [here](trace_to_envelope.go).
The exact mapping can be found in [trace_to_envelope.go](trace_to_envelope.go).
Copy link
Member

Choose a reason for hiding this comment

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

I see a few places where here is replaced with the filename, or something more specific. Is this a known best practice? I'm not opposed, just curious.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes (fwiw the check-spelling report is buried a few layers back, but here's the excerpt):

Do not use (click) here links

For more information, see:

(?i)(?:>|\[)(?:(?:click |)here|link|(?:read |)more)(?:</|\]\()

exporter/prometheusexporter/README.md Outdated Show resolved Hide resolved
In addition, this exporter offers queued retry which is enabled by default.
Information about queued retry configuration parameters can be found
[here](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md).
In addition, this [exporter](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md) offers queued retry which is enabled by default.
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
In addition, this [exporter](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md) offers queued retry which is enabled by default.
In addition, this exporter offers [queued retry](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md) which is enabled by default.

The link here is to show documentation on queued retry options, not the exporter itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I struggled a lot w/ this specific item -- ideally a link should describe what's on the other side of the link -- if the link was https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md#queued-retry, then queued retry would be a proper link.

It's better to say "see the queued retry options in the exporter documentation" or something like that...

exporter/signalfxexporter/README.md Outdated Show resolved Hide resolved
- `batcher`(Experimental, disabled by default): Specifies batching configuration on the exporter. Information about the configuration can be found [here](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)
- `batcher`(Experimental, disabled by default): Specifies [batching configuration on the exporter](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md).

In addition, this [exporter](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md) offers queued retry which is enabled by default.
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
In addition, this [exporter](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md) offers queued retry which is enabled by default.
In addition, this exporter offers [queued retry](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md) which is enabled by default.

Same as other comment, the link is to help with queued retry options, not the exporter itself.

exporter/splunkhecexporter/README.md Outdated Show resolved Hide resolved
@jsoref jsoref force-pushed the spelling-exporter branch from f1a5b49 to e0aa04c Compare January 10, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants