Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lambda][flare] Serverless Flare project #910

Merged
merged 28 commits into from
Jul 12, 2023
Merged

Conversation

sfirrin
Copy link
Contributor

@sfirrin sfirrin commented Jun 2, 2023

What and why?

Work in progress while we open smaller PRs and merge into this branch

Adds serverless lambda flare command to assist customers with configuration and debugging Datadog instrumentation

How?

A brief description of implementation details of this PR.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@sfirrin sfirrin changed the title [lambda][flare] Add serverless flare [lambda][flare] Add serverless lambda flare Jun 2, 2023
@duncanista duncanista added Do Not Merge Just do not merge this PR :) serverless Related to [lambda, stepfunctions, cloud-run] labels Jun 22, 2023
* Create and validate flare flags
* Write config to file and zip it
* - Send zip to Datadog when not in dry run
* Change zip method to use the `jszip` package for compatability on Windows, Mac, and Linux
* Add `jszip` copyright
* - Move constant endpoints
- Remove redundant try/catch on `fs.createReadStream` since the higher-level function `execute` handles the error
- Remove redundant `.then()` since we already use `await`
* Get CLI version programmatically and set as `operator_version`
* Rename `operator_version` to `datadog_ci_version`
* Code review refactoring
* Create thorough tests
@datadog-datadog-prod-us1
Copy link

Datadog Report

Branch report: serverless-flare
Commit report: 174bccd

datadog-ci-tests: 0 Failed, 0 New Flaky, 4215 Passed, 0 Skipped, 2m 33.03s Wall Time

sfirrin and others added 7 commits June 22, 2023 11:35
* Create and validate flare flags
* Write config to file and zip it
* - Send zip to Datadog when not in dry run
* Change zip method to use the `jszip` package for compatability on Windows, Mac, and Linux
* Add `jszip` copyright
* - Move constant endpoints
- Remove redundant try/catch on `fs.createReadStream` since the higher-level function `execute` handles the error
- Remove redundant `.then()` since we already use `await`
* Get CLI version programmatically and set as `operator_version`
* Rename `operator_version` to `datadog_ci_version`
* Code review refactoring
* Create thorough tests
Add `--with-logs` flag, which gets logs from the last 3 AWS CloudWatch Streams
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jun 29, 2023

Datadog Report

Branch report: serverless-flare
Commit report: d2087ee

datadog-ci-tests: 0 Failed, 0 New Flaky, 2034 Passed, 0 Skipped, 2m 38.73s Wall Time

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jul 7, 2023

Datadog Report

Branch report: serverless-flare
Commit report: 1da3ea4

datadog-ci-tests: 0 Failed, 0 New Flaky, 873 Passed, 0 Skipped, 37.95s Wall Time

@duncanista duncanista changed the title [lambda][flare] Add serverless lambda flare [lambda][flare] Serverless Flare project Jul 12, 2023
@duncanista duncanista merged commit eefa71a into master Jul 12, 2023
20 checks passed
@duncanista duncanista deleted the serverless-flare branch July 12, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge Just do not merge this PR :) serverless Related to [lambda, stepfunctions, cloud-run]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants