-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 #37128
base: main
Are you sure you want to change the base?
[chore] Spelling #37128
Conversation
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]>
Signed-off-by: Josh Soref <[email protected]>
@@ -150,7 +150,7 @@ type DispatchArtifactContent struct { | |||
ScheduledCount string `json:"scheduled_count"` | |||
SavedSearchesCount string `json:"ss_count"` | |||
CompletedCount string `json:"completed_count"` | |||
IncompleteCount string `json:"incomple_count"` | |||
IncompleteCount string `json:"incomplete_count"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might be impactful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a massive PR so it's hard to review, I picked up a few issues. Recommend you go by chunks, maybe receivers/processors/exporters and so on. Very appreciated, thanks!
@@ -41,7 +41,7 @@ func TestMetricValidation(t *testing.T) { | |||
expectedError: errors.New("url scheme must be http or https"), | |||
}, | |||
{ | |||
desc: "unparseable url", | |||
desc: "unparsable url", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from memory this repository is evenly split between [un]pars(e)able
. I often don't push in a direction when they're evenly split, and I'm happy to drop, but...
@@ -20,15 +20,15 @@ type ResourceID string | |||
// been changes to resource metadata such as Kubernetes labels. | |||
// An example of how this is used. Let's say we are dealing with a | |||
// Pod that has the following labels - | |||
// {"env": "test", "team": "otell", "usser": "bob"}. Now, let's say | |||
// {"env": "test", "team": "otell", "user_": "bob"}. Now, let's say |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tend to suggest using _
to indicate "this is intentionally not the correct token" -- otherwise people are forced to think "is this intentionally a typo or accidentally a typo?" -- and in this PR, it's quite rare that things appear to be intentionally misspelled...
@@ -17,7 +17,7 @@ | |||
|
|||
**This exporter is undergoing major changes right now.** | |||
|
|||
For some time we have been developing the [new Sumo Logic exporter](https://github.com/SumoLogic/sumologic-otel-collector/tree/main/pkg/exporter/sumologicexporter#sumo-logic-exporter) and now we are in the process of moving it into this repository. | |||
We are in the process of [moving the Sumo Logic exporter into this repository](https://github.com/SumoLogic/sumologic-otel-collector/pull/1601). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a notable change
## Calculate an extra disk_ops.total metric as number of all read and write operations happened since the last report. | ||
- action: copy_metrics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an atypical correction
@@ -997,7 +997,7 @@ func TestWALOnExporterRoundTrip(t *testing.T) { | |||
errs := prwe.handleExport(ctx, tsMap, nil) | |||
assert.NoError(t, errs) | |||
// Shutdown after we've written to the WAL. This ensures that our | |||
// exported data in-flight will flushed flushed to the WAL before exiting. | |||
// exported data in-flight will be flushed to the WAL before exiting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another atypical correction
{"https://doesnotexist.com", "", "https://doesnotexist.com"}, | ||
{"https://doesnotexist.com", "us", "https://doesnotexist.com"}, | ||
{"https://doesnotexist.com", "not-valid", "https://doesnotexist.com"}, | ||
{"https://nonexistent.com", "", "https://nonexistent.com"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sometimes encourage people to use RFC 2606 domains in which case this should be https://nonexistent.example.com, but I skipped that step here...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. Maybe good to track with an other issue.
@@ -53,7 +53,7 @@ func buildEventFromSpan( | |||
} | |||
|
|||
attrs["sca:schema"] = "tracing" | |||
attrs["sca:schemVer"] = 1 | |||
attrs["sca:schemaVer"] = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hopefully this is ok...
#### Description Fix spelling in processor/ #37128 (review) #### Link to tracking issue * #37128 --------- Signed-off-by: Josh Soref <[email protected]>
Description
This PR corrects misspellings identified by the check-spelling action
The misspellings have been reported at https://github.com/jsoref/opentelemetry-collector-contrib/actions/runs/12703384198#summary-35411084604
Testing
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/opentelemetry-collector-contrib/actions/runs/12703386265#summary-35411089865
Merging
I understand this is a bit big... Some of my PRs can be up to ~1k commits, so this is only really a medium size PR by my standards.
It's pretty easy for me to split into series of n commits if that's desired (as long as there aren't too many overlapping commits -- iirc there are a handful, but that's fine, I can leave the conflicting ones off).
Generally I'm quite flexible, but I don't have as much time as I used to, so it's quite possible I won't be able to do much until the middle of next week...