Raj Singh Yadav
12/02/2022, 11:56 AMapplication.owner,project.name,application.location,application.department,company.name
I have tried the below way but only three variables (service.name, service.namespace,deployment.environment) are getting configured
resource: new Resource({
[SemanticResourceAttributes.SERVICE_NAME]: 'appServiceName',
[SemanticResourceAttributes.SERVICE_NAMESPACE]: 'appServiceNameSpace',
[SemanticResourceAttributes.COMPANY_NAME]: 'myCompany',
[SemanticResourceAttributes.DEPLOYMENT_ENVIRONMENT]: 'prod',
[SemanticResourceAttributes.APPLICATION_LOCATION]: 'mumbai',
[SemanticResourceAttributes.PROJECT_NAME]: 'newProject',
[SemanticResourceAttributes.APPLICATION_DEPARTMENT]: 'dev',
[SemanticResourceAttributes.APPLICATION_OWNER]: 'owner'
})
Srikanth Chekuri
12/02/2022, 12:13 PM{
...
"application.owner": ...,
...
}
Raj Singh Yadav
12/02/2022, 1:23 PMresource: new Resource({
"service.name": "nodejs1",
"service.namespace": "gs1",
"deployment.environment": "prod1",
"application.owner": "owner",
"project.name": "p1",
"application.location": "l1",
"application.department": 'd3',
"company.name": "c4"
})
Srikanth Chekuri
12/02/2022, 2:28 PM