Skip to content

Commit dd101d8

Browse files
committed
edit readme
1 parent 0e6e878 commit dd101d8

File tree

3 files changed

+45
-189
lines changed

3 files changed

+45
-189
lines changed

.github/workflows/publish.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -95,40 +95,40 @@ jobs:
9595
env:
9696
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9797

98-
# notify-community:
99-
# needs: [create-release]
100-
# runs-on: ubuntu-latest
101-
# steps:
102-
# - name: Checkout
103-
# uses: actions/checkout@v2
104-
# - name: Get version from tag
105-
# id: tag_name
106-
# run: |
107-
# echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
108-
# - name: Post to the community Slack channel
109-
# uses: slackapi/[email protected]
110-
# with:
111-
# channel-id: 'C04KT9JNRHS'
112-
# payload: |
113-
# {
114-
# "text": "[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}",
115-
# "blocks": [
116-
# {
117-
# "type": "section",
118-
# "text": {
119-
# "type": "mrkdwn",
120-
# "text": "*[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}*"
121-
# }
122-
# },
123-
# {
124-
# "type": "section",
125-
# "text": {
126-
# "type": "mrkdwn",
127-
# "text": "<https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}|https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}>"
128-
# }
129-
# }
130-
# ]
131-
# }
132-
# env:
133-
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
98+
notify-community:
99+
needs: [create-release]
100+
runs-on: ubuntu-latest
101+
steps:
102+
- name: Checkout
103+
uses: actions/checkout@v2
104+
- name: Get version from tag
105+
id: tag_name
106+
run: |
107+
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
108+
- name: Post to the community Slack channel
109+
uses: slackapi/[email protected]
110+
with:
111+
channel-id: 'C04KT9JNRHS'
112+
payload: |
113+
{
114+
"text": "[Release] Baselime Opentelemetry for Node.JS Lambda v${{ steps.tag_name.outputs.current_version }}",
115+
"blocks": [
116+
{
117+
"type": "section",
118+
"text": {
119+
"type": "mrkdwn",
120+
"text": "*[Release] Baselime Opentelemetry for Node.JS Lambda v${{ steps.tag_name.outputs.current_version }}*"
121+
}
122+
},
123+
{
124+
"type": "section",
125+
"text": {
126+
"type": "mrkdwn",
127+
"text": "<https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}|https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}>"
128+
}
129+
}
130+
]
131+
}
132+
env:
133+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
134134

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

0 commit comments

Comments
 (0)