Skip to content

Commit 8715e9a

Browse files
[out_stackdriver]: Add generic resource keys. (#459)
* [out_stackdriver]: Add generic resource keys. Added keys for generic_node and generic_task. - location - namespace - node_id - job - task_id Signed-off-by: Joey DeStefanis <[email protected]> * [out_stackdriver]: Fix spaces and standardize language. Signed-off-by: Joey DeStefanis <[email protected]> * [out_stackdriver]: Better conjunctions. Signed-off-by: Joey DeStefanis <[email protected]>
1 parent f4edb9e commit 8715e9a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pipeline/outputs/stackdriver.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ Before to get started with the plugin configuration, make sure to obtain the pro
1616
| service\_account\_email | Account email associated to the service. Only available if **no credentials file** has been provided. | Value of environment variable _$SERVICE\_ACCOUNT\_EMAIL_ |
1717
| 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_ |
1818
| metadata\_server | Prefix for a metadata server. Can also set environment variable _$METADATA\_SERVER_. | http://metadata.google.internal |
19-
| resource | Set resource type of data. Supported resource types: _k8s\_container_, _k8s\_node_, _k8s\_pod_, _global_ and _gce\_instance_. | global, gce\_instance |
19+
| resource | Set resource type of data. Supported resource types: _k8s\_container_, _k8s\_node_, _k8s\_pod_, _global_, _generic\_node_, _generic\_task_, and _gce\_instance_. | global, gce\_instance |
20+
| location | The GCP or AWS region in which to store data about the resource. If the resource type is one of the _generic\_node_ or _generic\_task_, then this field is required. | |
21+
| namespace | A namespace identifier, such as a cluster name or environment. If the resource type is one of the _generic\_node_ or _generic\_task_, then this field is required. | |
22+
| node_id | A unique identifier for the node within the namespace, such as hostname or IP address. If the resource type is _generic\_node_, then this field is required. | |
23+
| job | An identifier for a grouping of related task, such as the name of a microservice or distributed batch. If the resource type is _generic\_task_, then this field is required. | |
24+
| 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_, then this field is required. | |
2025
| k8s\_cluster\_name | The name of the cluster that the container \(node or pod based on the resource type\) is running in. If the resource type is one of the _k8s\_container_, _k8s\_node_ or _k8s\_pod_, then this field is required. | |
2126
| k8s\_cluster\_location | The physical location of the cluster that contains \(node or pod based on the resource type\) the container. If the resource type is one of the _k8s\_container_, _k8s\_node_ or _k8s\_pod_, then this field is required. | |
2227
| labels\_key | The value of this field is used by the Stackdriver output plugin to find the related labels from jsonPayload and then extract the value of it to set the LogEntry Labels. | logging.googleapis.com/labels |

0 commit comments

Comments
 (0)