logary icon indicating copy to clipboard operation
logary copied to clipboard

Upgrade Rutta/Stackdriver allow separate "logs"

Open haf opened this issue 7 years ago • 0 comments

Currently we have Logger.name, which is a hierarchal name of the source, with the most significant piece first (like the company name, then module, then class, then function).

There's a "Resource" in GCP that corresponds to GCP's internal resources, primarily, and cannot be created/changed outside of GCP. This is what this thread is about: https://github.com/GoogleCloudPlatform/google-cloud-dotnet/issues/2460#issuecomment-419139834 (Logging to others than Global)

However, it's also the case that every deployment or statefulset in k8s creates a new "log" in Stackdriver. If we ingest everything through the HTTP ingestion, only "name" differentiates the logs; it could be useful to parametise the Stackdriver target with a function that can decide "log" name from the Message's name.

haf avatar Sep 07 '18 09:09 haf