Skip to content

Commit

Permalink
update metadata in entity
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee committed Nov 22, 2024
1 parent 2fd8364 commit efd82fd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public class Entity {
private Map<String, Object> sql;
private Map<String, Object> service;

private Map<String, Map<String, Object>> metadata;
private Map<String, Object> metadata;
private Map<String, Object> annotations;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}",
"PlatformType": "^Generic$"
}
},
"subsegments": [
{
Expand All @@ -46,12 +44,10 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}$",
"PlatformType": "^Generic$",
}
},
"namespace": "^aws$"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}",
"PlatformType": "^Generic$"
}
},
"subsegments": [
{
Expand All @@ -30,13 +28,11 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}$",
"PlatformType": "^Generic$",
"aws.span.kind": "^LOCAL_ROOT$"
}
},
"namespace": "^remote$"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}",
"PlatformType": "^Generic$"
}
},
"subsegments": [
{
Expand All @@ -44,12 +42,10 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}$",
"PlatformType": "^Generic$",
}
},
"namespace": "^remote$"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}",
"PlatformType": "^Generic$"
}
},
"subsegments": [
{
Expand All @@ -45,12 +43,10 @@
"aws.remote.environment": "^generic:default$"
},
"metadata": {
"default": {
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}$",
"PlatformType": "^Generic$",
}
},
"namespace": "^remote$"
}
Expand All @@ -72,8 +68,12 @@
"aws.local.environment": "^generic:default$"
},
"metadata": {
"default": {
}
"EC2.AutoScalingGroup": "^eks-.+",
"EKS.Cluster": "^{{platformInfo}}$",
"K8s.Namespace": "^{{appNamespace}}",
"PlatformType": "^Generic$"
"K8s.Workload": "^{{remoteServiceDeploymentName}}$",
"K8s.Pod": "^{{remoteServiceDeploymentName}}(-[A-Za-z0-9]*)*$"
},
"subsegments": [
{
Expand Down

0 comments on commit efd82fd

Please sign in to comment.