Skip to content

Fix - Update metric limiter callingType for metric validation #58

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

Merged
merged 1 commit into from
May 7, 2024

Conversation

jj22ee
Copy link
Contributor

@jj22ee jj22ee commented May 7, 2024

Issue #, if available:
https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/8990477656/job/24695891452

com.amazon.aoc.exception.BaseException: caller type not existed

Description of changes:
Update validator callingType that is required after #41
http-with-body -> http-with-query

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jj22ee jj22ee requested review from majanjua-amzn and harrryr May 7, 2024 18:42
@jj22ee jj22ee merged commit 7cbf723 into aws-observability:main May 7, 2024
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…rename

Fix - Update metric limiter callingType for metric validation
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…rename

Fix - Update metric limiter callingType for metric validation
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…rename

Fix - Update metric limiter callingType for metric validation
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…rename

Fix - Update metric limiter callingType for metric validation
georgeboc pushed a commit to georgeboc/aws-application-signals-test-framework that referenced this pull request Jul 8, 2024
*Issue #, if available:*

This PR implement _set_remote_target based on [Java
implementation](https://github.com/aws-observability/aws-otel-java-instrumentation/blob/61460af22255d5963df17c77a37ef71ff6f652d8/awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsMetricAttributeGenerator.java#L135).

There is one difference between Java and python:
Not like Java, AWS_#_NAME attributes are not supported in python as they
are not part of the Semantic Conventions. We use Use `SpanAttributes`
for `AWS_TABLE_NAME` and `AWS_BUCKET_NAME`. and manually add
`AWS_QUEUE_URL`, `AWS_QUEUE_NAME` `AWS_STREAM_NAME`.

This PR also fix a small bug in set_up/action.yml

Testing, the code in this PR is tested by unit test. And also tested
with local instrumentation by confirming the span attributes generated:
```
        "net.peer.name": "dynamodb.us-east-1.amazonaws.com",
        "aws.dynamodb.table_names": [
            "test_table"
        ],
        "aws.local.operation": "InternalOperation",
        "aws.request_id": "BL7KQGPQT88FCSRN3IM06LILRNVV4KQNSO5AEMVJF66Q9ASUAAJG",
        "retry_attempts": 0,
        "http.status_code": 200,
        "aws.local.service": "UnknownService",
        "aws.remote.service": "DynamoDB",
        "aws.remote.operation": "DescribeTable",
        "aws.remote.target": "::dynamodb:::table/test_table",
        "aws.span.kind": "LOCAL_ROOT"
```

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
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