Skip to content

Monitoring metric list fails in US Gov (FedRAMP) regions #904

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

Open
jeliker1 opened this issue Feb 5, 2025 · 0 comments
Open

Monitoring metric list fails in US Gov (FedRAMP) regions #904

jeliker1 opened this issue Feb 5, 2025 · 0 comments
Labels
Monitoring Issue pertains to the Monitoring service

Comments

@jeliker1
Copy link

jeliker1 commented Feb 5, 2025

Below fails for all Tenancies in regions us-langley-1, us-luke-1. The same does not fail for commercial US regions.

oci monitoring metric list --compartment-id $COMP_ID                 
ServiceError:
{
    "client_version": "Oracle-PythonSDK/2.143.0, Oracle-PythonCLI/3.51.4",
    "code": "InvalidParameter",
    "logging_tips": "Please run the OCI CLI command using --debug flag to find more debug information.",
    "message": "Expensive list request. Please narrow down your search parameters.",
    "opc-request-id": "40659EA82289405BB0C52FEDE4FCA3E6/4D1FCD64245706817E1E86D4CD32E5BC/446C33257CFC9926A132826589C89095",
    "operation_name": "list_metrics",
    "request_endpoint": "POST https://telemetry.us-luke-1.oraclegovcloud.com/20180401/metrics/actions/listMetrics",
    "status": 400,
    "target_service": "monitoring",
    "timestamp": "2025-02-05T20:43:07.526103+00:00",
    "troubleshooting_tips": "See [https://docs.oracle.com/iaas/Content/API/References/apierrors.htm] for more information about resolving this error. If you are unable to resolve this issue, run this CLI command with --debug option and contact Oracle support and provide them the full error message."
}

If I run with this it does not fail

oci monitoring metric list --compartment-id #COMP_ID --group-by '["namespace"]'
{
  "data": [
    {
      "compartment-id": "*",
      "dimensions": {},
      "name": "*",
      "namespace": "oci_lbaas",
      "resource-group": "*"
    }
  ]
}
@anup-21 anup-21 added the Monitoring Issue pertains to the Monitoring service label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Monitoring Issue pertains to the Monitoring service
Projects
None yet
Development

No branches or pull requests

2 participants