Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ protected String getBedrockAgentRuntimeSpanNamePrefix() {
return "AWSBedrockAgentRuntime";
}

@Override
protected String getSecretsManagerSpanNamePrefix() {
return "AWSSecretsManager";
}

@Override
protected String getStepFunctionsSpanNamePrefix() {
return "AWSStepFunctions";
}

protected String getS3RpcServiceName() {
return "Amazon S3";
}
Expand All @@ -90,6 +100,16 @@ protected String getSqsRpcServiceName() {
return "AmazonSQS";
}

@Override
protected String getSecretsManagerRpcServiceName() {
return "AWSSecretsManager";
}

@Override
protected String getStepFunctionsRpcServiceName() {
return "AWSStepFunctions";
}

protected String getKinesisRpcServiceName() {
return "AmazonKinesis";
}
Expand Down Expand Up @@ -235,4 +255,39 @@ void testBedrockAgentRuntimeAgentId() {
void testBedrockAgentRuntimeKnowledgeBaseId() {
doTestBedrockAgentRuntimeKnowledgeBaseId();
}

@Test
void testSecretsManagerDescribeSecret() throws Exception {
doTestSecretsManagerDescribeSecret();
}

@Test
void testSecretsManagerError() throws Exception {
doTestSecretsManagerError();
}

@Test
void testSecretsManagerFault() throws Exception {
doTestSecretsManagerFault();
}

@Test
void testStepFunctionsDescribeStateMachine() throws Exception {
doTestStepFunctionsDescribeStateMachine();
}

@Test
void testStepFunctionsDescribeActivity() throws Exception {
doTestStepFunctionsDescribeActivity();
}

@Test
void testStepFunctionsError() throws Exception {
doTestStepFunctionsError();
}

@Test
void testStepFunctionsFault() throws Exception {
doTestStepFunctionsFault();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ protected String getBedrockAgentRuntimeSpanNamePrefix() {
return "BedrockAgentRuntime";
}

@Override
protected String getSecretsManagerSpanNamePrefix() {
return "SecretsManager";
}

@Override
protected String getStepFunctionsSpanNamePrefix() {
return "Sfn";
}

@Override
protected String getS3RpcServiceName() {
return "S3";
Expand Down Expand Up @@ -114,6 +124,16 @@ protected String getBedrockAgentRuntimeRpcServiceName() {
return "BedrockAgentRuntime";
}

@Override
protected String getSecretsManagerRpcServiceName() {
return "SecretsManager";
}

@Override
protected String getStepFunctionsRpcServiceName() {
return "Sfn";
}

@Test
void testS3CreateBucket() throws Exception {
doTestS3CreateBucket();
Expand Down Expand Up @@ -240,4 +260,39 @@ void testBedrockAgentRuntimeAgentId() {
// void testBedrockAgentRuntimeKnowledgeBaseId() {
// doTestBedrockAgentRuntimeKnowledgeBaseId();
// }

@Test
void testSecretsManagerDescribeSecret() throws Exception {
doTestSecretsManagerDescribeSecret();
}

@Test
void testSecretsManagerError() throws Exception {
doTestSecretsManagerError();
}

@Test
void testSecretsManagerFault() throws Exception {
doTestSecretsManagerFault();
}

@Test
void testStepFunctionsDescribeStateMachine() throws Exception {
doTestStepFunctionsDescribeStateMachine();
}

@Test
void testStepFunctionsDescribeActivity() throws Exception {
doTestStepFunctionsDescribeActivity();
}

@Test
void testStepFunctionsError() throws Exception {
doTestStepFunctionsError();
}

@Test
void testStepFunctionsFault() throws Exception {
doTestStepFunctionsFault();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public class AppSignalsConstants {
public static final String AWS_REMOTE_OPERATION = "aws.remote.operation";
public static final String AWS_REMOTE_RESOURCE_TYPE = "aws.remote.resource.type";
public static final String AWS_REMOTE_RESOURCE_IDENTIFIER = "aws.remote.resource.identifier";
public static final String AWS_CLOUDFORMATION_PRIMARY_IDENTIFIER =
"aws.remote.resource.cfn.primary.identifier";
public static final String AWS_SPAN_KIND = "aws.span.kind";
public static final String AWS_REMOTE_DB_USER = "aws.remote.db.user";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ public class SemanticConventionsConstants {
public static final String AWS_DATA_SOURCE_ID = "aws.bedrock.data_source.id";
public static final String AWS_AGENT_ID = "aws.bedrock.agent.id";
public static final String AWS_GUARDRAIL_ID = "aws.bedrock.guardrail.id";
public static final String AWS_GUARDRAIL_ARN = "aws.bedrock.guardrail.arn";
public static final String GEN_AI_REQUEST_MODEL = "gen_ai.request.model";
public static final String AWS_SECRET_ARN = "aws.secretsmanager.secret.arn";
public static final String AWS_STATE_MACHINE_ARN = "aws.stepfunctions.state_machine.arn";
public static final String AWS_ACTIVITY_ARN = "aws.stepfunctions.activity.arn";

// kafka
public static final String MESSAGING_CLIENT_ID = "messaging.client_id";
Expand Down
3 changes: 3 additions & 0 deletions appsignals-tests/images/aws-sdk/aws-sdk-v1/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ dependencies {
implementation("com.amazonaws:aws-java-sdk-bedrockagent")
implementation("com.amazonaws:aws-java-sdk-bedrockruntime")
implementation("com.amazonaws:aws-java-sdk-bedrockagentruntime")
implementation("com.amazonaws:aws-java-sdk-secretsmanager")
implementation("com.amazonaws:aws-java-sdk-iam")
implementation("com.amazonaws:aws-java-sdk-stepfunctions")
implementation("commons-logging:commons-logging")
implementation("com.linecorp.armeria:armeria")
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.3")
Expand Down
Loading
Loading