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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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.

1 participant