Skip to content

Commit d9f5db7

Browse files
committed
v0.2.1
2 parents bdb008b + 0d208d6 commit d9f5db7

File tree

6 files changed

+43
-156
lines changed

6 files changed

+43
-156
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ jobs:
111111
channel-id: 'C04KT9JNRHS'
112112
payload: |
113113
{
114-
"text": "[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}",
114+
"text": "[Release] Baselime Opentelemetry for Node.JS Lambda v${{ steps.tag_name.outputs.current_version }}",
115115
"blocks": [
116116
{
117117
"type": "section",
118118
"text": {
119119
"type": "mrkdwn",
120-
"text": "*[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}*"
120+
"text": "*[Release] Baselime Opentelemetry for Node.JS Lambda v${{ steps.tag_name.outputs.current_version }}*"
121121
}
122122
},
123123
{

Contributing.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing to Baselime AWS Lambda Node.js OpenTelemetry
2+
3+
You want to help improve the Baselime AWS Lambda Node.js OpenTelemetry? Awesome, thank you!
4+
5+
## Reporting Issues
6+
7+
Bugs, feature requests, and development-related questions should be directed to our [GitHub issue tracker](https://github.com/baselime/lambda-node-opentelemetry/issues).
8+
9+
When reporting a bug, please try and provide as much context as possible such as your operating system, Node version, and anything else that might be relevant to the bug. For feature requests, please explain what you're trying to do, and how the requested feature would help you do that.
10+
11+
## Building and Packaging the project
12+
13+
### Prerequisites:
14+
15+
- Node 16.15+ Installed.
16+
17+
```shell
18+
$ npm run build
19+
```
20+
21+
## Setup
22+
23+
[Fork](https://github.com/baselime/lambda-node-opentelemetry) then clone this repository:
24+
25+
```
26+
$ git clone https://github.com/baselime/lambda-node-opentelemetry.git
27+
$ cd lambda-node-opentelemetry
28+
$ npm ci
29+
```

ManualInstrumentation.md

Lines changed: 0 additions & 149 deletions
This file was deleted.

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,20 @@
33
[![Latest Release][release_badge]][release]
44
[![License][license_badge]][license]
55

6-
The `@baselime/lambda-node-opentelemetry` package instruments your lambda functions and automatically ships OTEL compatible trace data to Baselime. This is the most powerful and flexible way to instrument your node service.
6+
The `@baselime/lambda-node-opentelemetry` package instruments your Node.js AWS Lambda functions with OpenTelemetry and automatically sends tracing data to Baselime. This is the most powerful and flexible way to instrument your serverless functions.
77

88
![Trace Timeline](trace-timeline.png)
99

10-
This can be applied completely automatically to your lambda functions using our automatic instrumentation.
10+
## Installation
11+
12+
### Automatic Installation
1113

12-
To enroll a lambda tag it with `baselime:tracing` `true`
14+
Once you've connected your AWS account to Baselime, add the `baselime:tracing` tag to any of your Node.js AWS Lambda functions and it will be automatically instrumented with OpenTelemetry.
1315

14-
If you would rather instrument the lambda manually follow this [guide](./ManualInstrumentation)
16+
### Manual Installation
17+
18+
To manually install this instrumentation, follow the steps in our [docs](https://baselime.io/docs/sending-data/opentelemetry/aws-lambda/node.js/).
19+
This can be applied completely automatically to your lambda functions using our automatic instrumentation.
1520

1621
## License
1722

sst.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { SSTConfig } from "sst";
2-
import { LAYER } from "./stacks/MyStack";
2+
import { LAYER } from "./stacks/Layer";
33

44
export default {
55
config(_input) {

stacks/MyStack.ts renamed to stacks/Layer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { StackContext, Api } from "sst/constructs";
22
import { Architecture, Code, LayerVersion, Runtime } from "aws-cdk-lib/aws-lambda";
33
import { RemovalPolicy } from "aws-cdk-lib";
44
import { StringParameter } from "aws-cdk-lib/aws-ssm";
5+
6+
57
export function LAYER({ stack }: StackContext) {
68

79
const layer = new LayerVersion(stack, "layer", {

0 commit comments

Comments
 (0)