Skip to content

Conversation

npande
Copy link
Contributor

@npande npande commented Nov 9, 2022

PR Details

Enhance AWS Lambda extension to incorporate Lambda Telemetry API to collect logs, metrics and spans (traces)
Provide a mechanism to drop spans if the user configures the environment variable. By default, spans are not to be dropped.

Description

In config/config.go file

  • Flag related implementation is done - refer
    • EnableSpanDrops
    • enableSpanDrops
    • SUMO_SPAN_DROP

In telemetryapiclient/telemetryapiclient.go file
New files are implemented for telemetry api support

In sumoclient/sumoclient.go file
Updated createCWLogLine(), enhanceLogs() to have new log supporting init duration, not dropping metrics and option to drop/not-drop spans

In sumologic-extension.go file
Updated runTimeAPIInit() for Subscribing Extension to Telemetry API

Related Issue

Refer the PR details

Checklist

  • Updated CHANGELOG.md.
  • Ran unit tests locally.

@npande npande requested a review from a team as a code owner November 9, 2022 13:02
@npande npande requested a review from himanshu219 November 9, 2022 13:14
Copy link
Contributor

@himanshu219 himanshu219 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants