Skip to content

Commit 5a130ee

Browse files
committed
output: add missing Stackdriver options
Signed-off-by: Eduardo Silva <edsiper@gmail.com>
1 parent d07f48a commit 5a130ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pipeline/outputs/stackdriver.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ This plugin uses the following configuration parameters. For more details about
3434
| `service_account_secret` | Private key content associated with the service account. Only available if no credentials file has been provided. | Value of environment variable `$SERVICE_ACCOUNT_SECRET` |
3535
| `severity_key` | The name of the key from the original record that contains the severity. | `logging.googleapis.com/severity` |
3636
| `span_id_key` | The name of the key from the original record that contains the span ID. | `logging.googleapis.com/spanId` |
37+
| `stackdriver_agent` | Set a custom `User-Agent` header value for requests sent to Cloud Logging. | _none_ |
3738
| `tag_prefix` | Set the `tag_prefix` used to validate the tag of logs with Kubernetes resource type. Without this option, the tag of the log must be in format of `k8s_container(pod/node).*` to use the `k8s_container` resource type. Now the tag prefix is configurable by this option (note the ending dot). | `k8s_container.`, `k8s_pod.`, `k8s_node.` |
3839
| `task_id` | A unique identifier for the task within the namespace and job, such as a replica index identifying the task within the job. If the resource type is `generic_task`, this field is required. | _none_ |
40+
| `test_log_entry_format` | Test-only option that prints the generated Cloud Logging payload without sending it. Intended for validation and debugging. | `false` |
3941
| `text_payload_key` | Set the key from the record to use as the `textPayload` field in the log entry. | _none_ |
4042
| `trace_key` | The name of the key from the original record that contains the trace value. | `logging.googleapis.com/trace` |
4143
| `trace_sampled_key` | The name of the key from the original record that contains the trace sampled flag. | `logging.googleapis.com/traceSampled` |

0 commit comments

Comments
 (0)