fix ageanda update

This commit is contained in:
Peter Maquiran
2024-06-19 18:55:36 +01:00
parent 1ccc7a9fc9
commit 34dbd84f86
4 changed files with 13 additions and 12 deletions
@@ -15,12 +15,11 @@ function createProvider(serviceName) {
provider.addSpanProcessor(new SimpleSpanProcessor(new ZipkinExporter({
url: 'https://5-180-182-151.cloud-xip.com:85/zipkin-endpoint/api/v2/spans',
serviceName: serviceName,
// Uncomment and customize the following if needed
// getExportRequestHeaders: () => {
// return {
// foo: 'bar',
// };
// }
getExportRequestHeaders: () => {
return {
'Authorization': 'Basic ' + btoa('tabteste@006:tabteste@006'),
};
}
})));
provider.register();