workers_tail_consumers_script

A reference to a script that will consume logs from the attached Worker.

APIs.ioEngineeringPlatform

Properties

Name Type Description
environment string Optional environment if the Worker utilizes one.
namespace string Optional dispatch namespace the script belongs to.
service string Name of Worker that is to be the consumer.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-workers-tail-consumers-script-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/workers_tail_consumers_script",
  "title": "workers_tail_consumers_script",
  "description": "A reference to a script that will consume logs from the attached Worker.",
  "properties": {
    "environment": {
      "description": "Optional environment if the Worker utilizes one.",
      "example": "production",
      "type": "string"
    },
    "namespace": {
      "description": "Optional dispatch namespace the script belongs to.",
      "example": "my-namespace",
      "type": "string"
    },
    "service": {
      "description": "Name of Worker that is to be the consumer.",
      "example": "my-log-consumer",
      "type": "string"
    }
  },
  "required": [
    "service"
  ],
  "type": "object"
}