0.1.1 • Published 5 years ago
@telemetry-js/processor-ecs-tags v0.1.1
processor-ecs-tags
Add
cluster,region,nameandimagetags to metrics. Fetched from ECS Task Metadata Endpoint V2 or V3. Only works in an ECS container.
Atelemetryplugin.
Table of Contents
Usage
const telemetry = require('@telemetry-js/telemetry')()
const tags = require('@telemetry-js/processor-ecs-tags')
telemetry.task()
.process(tags, { version: 2 })Options
version: required, number, either 2 or 3. Must be 2 when you're using a Fargate cluster; Fargate does not support v3.
Install
With npm do:
npm install @telemetry-js/processor-ecs-tagsAcknowledgements
This project is kindly sponsored by Reason Cybersecurity Ltd.
License
MIT © Vincent Weevers
0.1.1
5 years ago
