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

feat: add AWS/QuickSight as supported service #1477

Merged

Conversation

choppedpork
Copy link
Contributor

QuickSight is a business intelligence tool but can also be used to set up the suite of Cloud Intelligence Dashboards which provide some neat cost (and other) dashboards. To say the entire solution is complex is a bit of an understatement so monitoring is of paramount importance (I've managed to break some of the datasets by following the workshop instructions to deploy other ones, ahem) and thus necessitates an addition to yace 🙂

I've tested the change locally using the config included in the PR (examples/quicksight.yml). The period / length values are the lowest once I could get metrics from and I believe setting nilToZero is going to be needed here, similarly to #1405.

Partially anonymized result w/o nilToZero:

# HELP aws_quicksight_ingestion_error_count_sum Help is not implemented yet.
# TYPE aws_quicksight_ingestion_error_count_sum gauge
aws_quicksight_ingestion_error_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="",name="global",region="eu-west-2"} 5
aws_quicksight_ingestion_error_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="07c385e2-a43c-401c-abf4-fd54baed26a2",name="global",region="eu-west-2"} 1
(...)
aws_quicksight_ingestion_error_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="ce8e358c-3621-4983-9e0e-ba65b86346d6",name="global",region="eu-west-2"} NaN
aws_quicksight_ingestion_error_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="compute_optimizer_all_options",name="global",region="eu-west-2"} NaN
aws_quicksight_ingestion_error_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="d01a936f-2b8f-49dd-8f95-d9c7130c5e46",name="global",region="eu-west-2"} NaN
aws_quicksight_ingestion_error_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="ta-organizational-view",name="global",region="eu-west-2"} NaN
# HELP aws_quicksight_ingestion_invocation_count_sum Help is not implemented yet.
# TYPE aws_quicksight_ingestion_invocation_count_sum gauge
aws_quicksight_ingestion_invocation_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="",name="global",region="eu-west-2"} 21
aws_quicksight_ingestion_invocation_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="07c385e2-a43c-401c-abf4-fd54baed26a2",name="global",region="eu-west-2"} 1
(...)
aws_quicksight_ingestion_invocation_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="ce8e358c-3621-4983-9e0e-ba65b86346d6",name="global",region="eu-west-2"} 1
aws_quicksight_ingestion_invocation_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="compute_optimizer_all_options",name="global",region="eu-west-2"} 1
aws_quicksight_ingestion_invocation_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="d01a936f-2b8f-49dd-8f95-d9c7130c5e46",name="global",region="eu-west-2"} 1
aws_quicksight_ingestion_invocation_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="ta-organizational-view",name="global",region="eu-west-2"} 1
# HELP aws_quicksight_ingestion_row_count_sum Help is not implemented yet.
# TYPE aws_quicksight_ingestion_row_count_sum gauge
aws_quicksight_ingestion_row_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="",name="global",region="eu-west-2"} 5.664183e+06
aws_quicksight_ingestion_row_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="07c385e2-a43c-401c-abf4-fd54baed26a2",name="global",region="eu-west-2"} NaN
(...)
aws_quicksight_ingestion_row_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="ce8e358c-3621-4983-9e0e-ba65b86346d6",name="global",region="eu-west-2"} 2.058553e+06
aws_quicksight_ingestion_row_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="compute_optimizer_all_options",name="global",region="eu-west-2"} 2774
aws_quicksight_ingestion_row_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="d01a936f-2b8f-49dd-8f95-d9c7130c5e46",name="global",region="eu-west-2"} 1.969758e+06
aws_quicksight_ingestion_row_count_sum{account_alias="finops",account_id="123456789012",dimension_DatasetId="ta-organizational-view",name="global",region="eu-west-2"} 10804

@cristiangreco cristiangreco merged commit 2b2a560 into prometheus-community:master Aug 30, 2024
3 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