Skip to content

Commit 470e978

Browse files
committed
this is already present in scrape_repo
1 parent f48caac commit 470e978

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

middleware/main.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,18 +340,12 @@ async def setup_repo(args, config):
340340
return git_repo, local_path
341341

342342

343-
@traced
344343
async def process_sitemap(sitemap, local_path, default_http_config, git_repo):
345344
"""
346345
Process a single sitemap configuration.
347346
"""
348347

349348
scraper_config = MetadataScraperConfig(**sitemap)
350-
351-
otel_span = trace.get_current_span()
352-
otel_span.set_attribute(
353-
"FAIRagro.middleware.sitemap_name", scraper_config.name)
354-
355349
path, starttime, repo_report = await scrape_repo_and_write_to_file(
356350
local_path, scraper_config, default_http_config
357351
)

0 commit comments

Comments
 (0)