这是indexloc提供的服务,不要输入任何密码
Skip to content

Update cralwer to crawl all io.opentelemetry.* groups #7316

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

Merged

Conversation

jack-berg
Copy link
Member

Expanding on @jaydeluca's javadoc crawler work from #7300 to crawl all groups we publish artifacts to:

  • io.opentelemetry
  • io.opentelemetry.instrumentation
  • io.opentelemetry.contrib
  • io.opentelemetry.semconv
  • io.opentelemetry.proto

@jack-berg jack-berg requested a review from a team as a code owner May 2, 2025 21:35
@@ -146,6 +182,7 @@ static List<String> crawlJavaDocs(HttpClient client, List<Artifact> artifacts)
.append("/package-summary.html");

HttpRequest crawlRequest = HttpRequest.newBuilder(URI.create(path.toString())).GET().build();
logger.info(String.format("Crawling %s at: %s", artifact, path));
Copy link
Member Author

Choose a reason for hiding this comment

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

I find extra logging is almost always helpful for scripts

In this case, logging helped me discover that we were scanning a bunch of old artifacts, and not scanning artifacts from other groups (maven must have exact matching on groups, rather than startsWith matching).

Copy link

codecov bot commented May 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.03%. Comparing base (4aeb2f7) to head (c171cb3).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7316   +/-   ##
=========================================
  Coverage     90.03%   90.03%           
  Complexity     6915     6915           
=========================================
  Files           787      787           
  Lines         20864    20864           
  Branches       2023     2023           
=========================================
  Hits          18784    18784           
  Misses         1441     1441           
  Partials        639      639           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@jaydeluca jaydeluca left a comment

Choose a reason for hiding this comment

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

awesome! 🚀

@jack-berg jack-berg merged commit 54e5ea7 into open-telemetry:main May 6, 2025
27 of 28 checks passed
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.

3 participants