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

remove generated jsonschema code #8620

Merged

Conversation

codeboten
Copy link
Contributor

This code will live in the opentelemetry-go-contrib repo in the future.

This depends on open-telemetry/opentelemetry-go-contrib#4376

@codeboten codeboten force-pushed the codeboten/rm-generated-jsonschema-code branch 2 times, most recently from 3c36eb6 to 10b1f79 Compare October 10, 2023 19:34
@codeboten codeboten marked this pull request as ready for review October 10, 2023 19:34
@codeboten codeboten requested a review from a team as a code owner October 10, 2023 19:34
@codeboten codeboten force-pushed the codeboten/rm-generated-jsonschema-code branch from 10b1f79 to c321970 Compare October 10, 2023 19:36
@codeboten codeboten changed the title [wip] remove generated jsonschema code remove generated jsonschema code Oct 10, 2023
@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (f96d155) 90.82% compared to head (0c9b2cf) 91.60%.
Report is 6 commits behind head on main.

Files Patch % Lines
internal/testutil/testutil.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8620      +/-   ##
==========================================
+ Coverage   90.82%   91.60%   +0.77%     
==========================================
  Files         318      317       -1     
  Lines       17208    17013     -195     
==========================================
- Hits        15630    15585      -45     
+ Misses       1284     1134     -150     
  Partials      294      294              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 11, 2023
@codeboten codeboten force-pushed the codeboten/rm-generated-jsonschema-code branch from 1ab171a to bfa54db Compare November 11, 2023 13:14
@codeboten codeboten removed the Stale label Nov 11, 2023
@codeboten codeboten force-pushed the codeboten/rm-generated-jsonschema-code branch from bfa54db to 413faaa Compare November 11, 2023 13:17
@mx-psi
Copy link
Member

mx-psi commented Nov 13, 2023

@codeboten codeboten force-pushed the codeboten/rm-generated-jsonschema-code branch from d6ccfa5 to a69f7e7 Compare November 14, 2023 20:23
@codeboten
Copy link
Contributor Author

@mx-psi updated the PR with v0.1.0

exporter/otlpexporter/go.mod Outdated Show resolved Hide resolved
exporter/otlphttpexporter/go.mod Outdated Show resolved Hide resolved
extension/zpagesextension/go.mod Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

Accidental revert of #8795?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup, thanks for catching. fixed

service/telemetry/generated_config.go Outdated Show resolved Hide resolved
@@ -67,177 +63,178 @@ func TestLoadConfig(t *testing.T) {
}
}

// TODO: review where unmarshal tests should live
Copy link
Member

Choose a reason for hiding this comment

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

I would just remove the code or keep it as is, leaving it commented does not seem useful to me (we always have git history). If we remove it, we can file an issue to track this.

Copy link
Member

Choose a reason for hiding this comment

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

I'd say let's remove this and file an issue? That seems like the easiest option

Alex Boten added 2 commits November 15, 2023 14:51
This code lives in the opentelemetry-go-contrib repo now.

Signed-off-by: Alex Boten <aboten@lightstep.com>
Signed-off-by: Alex Boten <aboten@lightstep.com>
@codeboten codeboten force-pushed the codeboten/rm-generated-jsonschema-code branch from 8bb123b to 2d8ada2 Compare November 15, 2023 22:56
Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

Approving but please see the config_test.go comment

@@ -67,177 +63,178 @@ func TestLoadConfig(t *testing.T) {
}
}

// TODO: review where unmarshal tests should live
Copy link
Member

Choose a reason for hiding this comment

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

I'd say let's remove this and file an issue? That seems like the easiest option

Signed-off-by: Alex Boten <aboten@lightstep.com>
@codeboten codeboten merged commit a82663e into open-telemetry:main Nov 16, 2023
31 of 32 checks passed
@codeboten codeboten deleted the codeboten/rm-generated-jsonschema-code branch November 16, 2023 19:01
@github-actions github-actions bot added this to the next release milestone Nov 16, 2023
codeboten pushed a commit that referenced this pull request Dec 12, 2023
Should've been removed as part of
#8620
sokoide pushed a commit to sokoide/opentelemetry-collector that referenced this pull request Dec 18, 2023
dmitryax pushed a commit that referenced this pull request Feb 16, 2024
**Description:**
Delete deprecated config types which have moved to
opentelemetry-go-contrib.

See #8620
for the first changes.
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.

None yet

2 participants