You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logging has no way to identify the project or the instance of the project. Without a project identifier, it's difficult to query all of a project's logging and impossible to guarantee that a query is not returning data from an unintended project. If two projects use the same script name, their logging records would be indistinguishable.
Without an instance identifier, a second instance of a project's scripts would be indistinguishable from the first.
We could address these issues by adding a project column and an instance column to the rcc_job_log data model, setting environment variables with standard names, reading those names from the env, and writing those values on each log record. Such code would need to behave gracefully if the values are absent setting NULL values as login records are written.
The standard names in the environment should be INSTANCE and PROJECT
The text was updated successfully, but these errors were encountered:
Logging has no way to identify the project or the instance of the project. Without a project identifier, it's difficult to query all of a project's logging and impossible to guarantee that a query is not returning data from an unintended project. If two projects use the same script name, their logging records would be indistinguishable.
Without an instance identifier, a second instance of a project's scripts would be indistinguishable from the first.
We could address these issues by adding a
project
column and aninstance
column to thercc_job_log
data model, setting environment variables with standard names, reading those names from the env, and writing those values on each log record. Such code would need to behave gracefully if the values are absent setting NULL values as login records are written.The standard names in the environment should be INSTANCE and PROJECT
The text was updated successfully, but these errors were encountered: