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

Fix crash in OpenSearch scraper #756

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

cristim
Copy link
Contributor

@cristim cristim commented Oct 31, 2024

This was caused by missing instance type key for Serverless and other SKU types

1586.4 Traceback (most recent call last):
1586.4   File “/opt/app/tasks.py”, line 100, in scrape_opensearch
1586.4     opensearch_scrape(opensearch_file)
1586.4   File “/opt/app/opensearch.py”, line 126, in scrape
1586.4     instance_type = attributes[“instanceType”]
1586.4 KeyError: ‘instanceType’
1586.4 ERROR: Unable to scrape OpenSearch data
1586.4 None

@brookemckim brookemckim merged commit fa70664 into vantage-sh:master Jan 4, 2025
1 of 2 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.

2 participants