feat: Add OCISERVICEGATEWAY entity definition (staging)#3068
Open
aprasad-sketch wants to merge 3 commits into
Open
feat: Add OCISERVICEGATEWAY entity definition (staging)#3068aprasad-sketch wants to merge 3 commits into
aprasad-sketch wants to merge 3 commits into
Conversation
Add OCI Service Gateway entity definition with: - Entity definition with synthesis rules - Golden metrics - Summary metrics - Test data - Using .stg.yml/.stg.json suffix (staging only) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
entityBot
previously requested changes
Jul 21, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.bytes.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.bytes.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 38, unexpected 'sum(oci.service.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'sum(oci.service.gateway.bytes.from.service)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.sgw.drops.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.sgw.drops.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 42, unexpected 'sum(oci.service.gateway.sgw.drops.from'
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'sum(oci.service.gateway.sgw.drops.from.service)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
dachepallysaikirannewrelic
previously approved these changes
Jul 23, 2026
entityBot
dismissed stale reviews from dachepallysaikirannewrelic and themself
July 23, 2026 13:45
Dismissing reviews
entityBot
previously requested changes
Jul 23, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.bytes.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.bytes.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 38, unexpected 'sum(oci.service.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'sum(oci.service.gateway.bytes.from.service)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.sgw.drops.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.sgw.drops.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 42, unexpected 'sum(oci.service.gateway.sgw.drops.from'
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'sum(oci.service.gateway.sgw.drops.from.service)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
entityBot
requested changes
Jul 23, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.bytes.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.bytes.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 38, unexpected 'sum(oci.service.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'sum(oci.service.gateway.bytes.from.service)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.sgw.drops.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'SELECT sum(oci.service.gateway.sgw.drops.from.service) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 42, unexpected 'sum(oci.service.gateway.sgw.drops.from'
- Error VALIDATING domainType: 'INFRA-OCISERVICEGATEWAY' on Golden metrics for key 'sum(oci.service.gateway.sgw.drops.from.service)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
The 'from' segment in oci.service.gateway.bytes.from.service and oci.service.gateway.sgw.drops.from.service is parsed as the NRQL reserved FROM keyword, failing golden-metric validation. Wrap all metric names in backticks so the parser treats them as identifiers. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
entityBot
approved these changes
Jul 23, 2026
entityBot
left a comment
Collaborator
There was a problem hiding this comment.
We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add OCI Service Gateway entity definition with synthesis rules, golden metrics, and summary metrics. Staging-only (
.stg.yml/.stg.json).Entity Type
INFRA-OCISERVICEGATEWAYoci_service_gatewayocid1.servicegatewayGolden Metrics
oci.service.gateway.bytes.to.service)oci.service.gateway.bytes.from.service)oci.service.gateway.sgw.drops.to.service)oci.service.gateway.sgw.drops.from.service)Metric Source
https://docs.oracle.com/en-us/iaas/Content/Network/Reference/SGWmetrics.htm
🤖 Generated with Claude Code