aws-samples / aws-samples/amazon-ecs-firelens-examples

Metrics examples: remove need for metric filter by making FLB invoke a script that outputs EMF

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
336
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Why?

  • removes the need for metric filter in CW log group in metrics tutorials
  • This might enable more fine-grained/specific metrics experiences, need to think on this more.

How?

  • exec input takes cmd output and turns it into logs
  • create script that obtains desired metrics and outputs EMF records
  • FLB sends cmd output (EMF records) as EMF logs
  • args to script can select metrics/experiences

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the metrics tutorials and the exec input described in the issue. Determine how a script should obtain the desired metrics, emit EMF records, and accept arguments for selecting metrics or experiences. Done means the tutorials no longer require a CloudWatch metric filter and the resulting output is sent as EMF logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.