Library should automatically pick up service and revision name in Knative environments #370
Labels
api: clouderrorreporting
Issues related to the googleapis/nodejs-error-reporting API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When running on Cloud Run, or Cloud Run on GKE or any Knative install, the library should pick up the
K_SERVICE
env var and associate it to the "service" and theK_REVISION
env var and associate it to "version".These env vars are part of the Knative runtime contract, see here
cc @ofrobots
The text was updated successfully, but these errors were encountered: