mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix ageanda update
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user