Changes the tag behavior for a few of the tags on the Paged logger. The current tags seem optimized for human readability, not machine analytics. These changes allow metrics and dashboards to be created off of the tags without having to do a lot of pre-processing. This basically adds a bit more data about sizing, and creates some tags for data currently only added to the log message itself.
Introduce a new field log_size_bytes for the new behavior, while leaving the old tag alone and deprecating it. This way we don't break existing behavior. In a major release we could switch this.
Log size should log the size of this log message, not the whole log. This allows summing of log_size_bytes to reflect the total logged volume without multi-counting paged messages. This is important to allow accurate monitoring of log volume.
page_number and total_pages added as tags to the log messages. This allows filters to be created counting number of messages, without multi counting pages messages. Without this, querying would typically have to be accomplished with regex text searching, which is slower and brittle.
Changes the tag behavior for a few of the tags on the Paged logger. The current tags seem optimized for human readability, not machine analytics. These changes allow metrics and dashboards to be created off of the tags without having to do a lot of pre-processing. This basically adds a bit more data about sizing, and creates some tags for data currently only added to the log message itself.
log_size_bytes
for the new behavior, while leaving the old tag alone and deprecating it. This way we don't break existing behavior. In a major release we could switch this.log_size_bytes
to reflect the total logged volume without multi-counting paged messages. This is important to allow accurate monitoring of log volume.page_number
andtotal_pages
added as tags to the log messages. This allows filters to be created counting number of messages, without multi counting pages messages. Without this, querying would typically have to be accomplished with regex text searching, which is slower and brittle.