bugfix/send-logs-to-graphana #1030
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
As a PM I want to be able to see Consult logs in the teams's centralised logging platform
Changes proposed in this pull request
REPOandAPP_NAMEenvironment variables for logging addedGuidance to review
see logs here https://logs.dev.i.ai.gov.uk/_dashboards/app/data-explorer/discover#?_a=(discover:(columns:!(_source),isDirty:!f,sort:!(!('@timestamp',desc))),metadata:(indexPattern:dea5c940-66eb-11f0-af20-8559e78f818b,view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_q=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:dea5c940-66eb-11f0-af20-8559e78f818b,key:env.app_name,negate:!f,params:(query:consult),type:phrase),query:(match_phrase:(env.app_name:consult))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:dea5c940-66eb-11f0-af20-8559e78f818b,key:env.environment_name,negate:!f,params:(query:dev),type:phrase),query:(match_phrase:(env.environment_name:dev)))),query:(language:kuery,query:''))
Link to Trello ticket
Things to check
.env.testfiles in the repo