how to configure these variables in nodejs applica...
# support
r
how to configure these variables in nodejs application -
Copy code
application.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
Copy code
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'
      })
s
Because the official semconv doesn’t include them. You can simple use string: string mapping for them.
Copy code
{
...
"application.owner": ...,
...
}
r
Hi , i tried this way but only first three were showing in service dashboard
Copy code
resource: 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"
      })
s
Hmm, that’s unexpected. Can you create an issue here https://github.com/SigNoz/signoz and share a reproducible example?