Energinet-DataHub / green-energy-hub

National energy transmission system operator data hub developing to support change toward decarbonised economies
Apache License 2.0
39 stars 6 forks source link

Ensure logging works as expected in Databricks job #633

Open JesperGomes opened 2 months ago

JesperGomes commented 2 months ago

Synopsis

The settlement report Databricks job does log difference things to application insights. But is it logged under the correct cloud role name? Should we have logging integration tests as we have for CalculatorJob?

Also, we should move logging to a shared package

Acceptance criteria

Tech Notes

Please see the description on #834. #834 was a duplicate and has been closed.

Tasks

cenh-halfspace commented 2 weeks ago

Screenshot of logging:

image.png

Screenshot of spans:

image.png

Databricks log:

image.png