Proto commits in serverless/dashboard

These 83 commits are when the Protocol Buffers files have changed:

Commit:cd4f668
Author:Tomasz Czubocha
Committer:GitHub

feat: Add dashboard app & service name to protobuf tags (#843)

The documentation is generated from this commit.

Commit:a3df350
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: `TracePayload.is_truncated` To mark payloads that otherwise exceed 256KB size limit

Commit:e61819e
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Introduce `aws.lambda.response_mode` tag It's to recognize response stream mode

Commit:ec7551d
Author:Dan Jarvis
Committer:GitHub

feat: Added a new transport payload for dev mode (#749)

Commit:faf41d0
Author:Max Marze
Committer:GitHub

feat: Add validation_exact_number to http.status_code (#653)

Commit:9ab5cd1
Author:Tomasz Czubocha
Committer:GitHub

feat(proto): Add logs_start_time_unix and logs_end_time_unix tags to AwsLambdaTags (#577)

Commit:f239b44
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: AWS Lambda runtime related tags

Commit:99d50a8
Author:Mariusz Nowak
Committer:Mariusz Nowak

refactor: Improve documentation

Commit:20c1966
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Define `is_sampled_out` for TracePayload

Commit:73a8ce1
Author:Max Marze
Committer:GitHub

feat: Add Top Level Fields & Make Org Id a Single String Field (#463)

Commit:896813e
Author:Max Marze
Committer:GitHub

feat: Add Validation Root Comment (#460)

Commit:c6641be
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Notice event tags

Commit:27f28f2
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Distinguish between user or internal SDK generated warning BREAKING CHANGE: Captured event `WarningType.WARNING_TYPE_SDK` reference is renamed to `WarningType.WARNING_TYPE_SDK_USER`

Commit:177516b
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Distinguish user and sdk caught errors BREAKING CHANGE: Captured event `ErrorType.ERROR_TYPE_CAUGHT` reference is renamed to `ErrorType.ERROR_TYPE_CAUGHT_USER`

Commit:b04ae2c
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Define `WarningTags.stacktrace`

Commit:21056f6
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Define `TracePayload.custom_tags`

Commit:2dad063
Author:Max Marze

feat: Add fingerprints array to span schema

Commit:38338ee
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Define `Span.custom_tags` for custom user tags

Commit:0cbd622
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: `WarningTags.type` To distinguish between internal and user generated warnings

Commit:306362a
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Define `Event.custom_fingerprint`

Commit:5be6945
Author:Mariusz Nowak
Committer:Mariusz Nowak

style: Whitespace

Commit:94c9c5f
Author:Max Marze
Committer:GitHub

feat: Add Warning Tags to Event Schema (#333) * feat: Add Warning Tags to Event Schema * refactor: Make warning name optional * refactor: Remove name property and require message

Commit:aced7ec
Author:Max Marze
Committer:GitHub

Add Events as a property of TracePayload (#317) * Add Events as a property of TracePayload * chore: Fix TracePayload test * Add github token to buf action to prevent rate limiting

Commit:a39a8fb
Author:Max Marze
Committer:GitHub

Add Event Payload Definition (#315) * Add Event Payload Definition * Add doc strings for ErrorType * Simplify ErrorType * Update caught error description

Commit:cd566b0
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Make `aws.sdk.signature_version` tag optional As apparently in certain situations we can't retrieve it

Commit:c1c7b86
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: `requestResponse` payload: Replace `data` with `body` and `origin` BREAKING CHANGE: `requestResponse` payload: `data` is removed in favor of `body` and `origin`

Commit:ce13fd8
Author:Dan Jarvis
Committer:GitHub

Moved sdk to root tags (#276) * Moved sdk to root tags * Updated tag number

Commit:5686119
Author:Dan Jarvis
Committer:Dan Jarvis

chore: Added is historical and type as optional on proto

Commit:b0a00e8
Author:Dan Jarvis

chore: Added timestamp to trace payloads

Commit:f217ea2
Author:Dan Jarvis
Committer:GitHub

chore: Updated proto schemas to better match the ingest process (#270)

Commit:277b6e9
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Move span `input` and `output` data to top level properties BREAKING CHANGE: `http.request_body`, `http.response_body`, `aws.sdk.request_body` and `aws.sdk.response_body` tags are removed in favor of top level `input and `output` properties

Commit:986edd1
Author:Mariusz Nowak
Committer:Mariusz Nowak

docs: Improve HTTP related tags documentation

Commit:4bccdcc
Author:Dan Jarvis
Committer:GitHub

Optional telemetry data on dev mode proto (#250) * Optional telemetry data on dev mode proto * chore: Added ms postfix to telemetry * chore: Updated attribute names

Commit:d6bbaf9
Author:Dan Jarvis
Committer:GitHub

Created dev mode proto file (#239) * chore: Created dev mode proto file * chore: Update attribute names

Commit:b810bfd
Author:Dan Jarvis
Committer:GitHub

chore: Updated sls tags to include additional identifying information (#238)

Commit:ed44a1c
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Configure optional `request_body` and `response_body` tags

Commit:ff17ea9
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Remove `express` tags in favor of `aws.lambda.http_router` BREAKING CHANGE: `express` tags namespace is removed in favor of introduced `aws.lambda.http_router`

Commit:c693280
Author:Mariusz Nowak
Committer:Mariusz Nowak

refactor: Pre-reserve slots for fields eventually to be introduced later

Commit:ee0c8e5
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Replace `http.query` with `http.query_parameter_names` BREAKING CHANGE: - Replace `http.query` with `http.query_parameter_names` - Change numbering of some `http.*` fields

Commit:2a38ba4
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Introduce `http.request_header_names` tag In effect remove `aws.lambda.api_gateway.request.headers` BREAKING CHANGE: `aws.lambda.api_gateway.request.headers` is removed in favor of generic `http.request_header_names`

Commit:44702ad
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Introduce `aws.lambda.api_gateway.request.path_parameter_names` Remove `aws.lambda.api_gateway.request.path_parameters` BREAKING CHANGE: Remove `aws.lambda.api_gateway.request.path_parameters` in favor of `aws.lambda.api_gateway.request.path_parameter_names`

Commit:d15839d
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Define `exclusive_start_key` and `attribute_values` DynamoDB tags

Commit:6e90249
Author:Mariusz Nowak
Committer:GitHub

docs: Improve `outcome` documentation (#210)

Commit:aa8dcc5
Author:Mariusz Nowak
Committer:Mariusz Nowak

fix: Improve types of numeric properties BREAKING CHANGE: Types of some numeric tags were updated to more optimal ones

Commit:96eae9f
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Make all `express` tags optional There may be no handler configured for given route

Commit:3ff6ff5
Author:Mariusz Nowak

feat: Make all `express` tags optional There may be no handler configured for given route

Commit:b87db6e
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Update to singular`aws.sdk.dynamodb.table_name` field BREAKING CHANGE: `aws.sdk.dynamodb.table_names` repated tag is replaced with singular `aws.sdk.dynamodb.table_name`

Commit:8062407
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Improve naming of `aws.sdk.dynamodb.key_condition` tag

Commit:1cd3f32
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Rename tag to match convention BREAKING CHANGE: Rename `aws.sdk.dynamodb.filter_expression` to `aws.sdk.dynamodb.filter` (to match convention

Commit:11a98c9
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Configure `aws.sdk.dynamodb.key` to store KeyExpression

Commit:1acc6cf
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Remove obsolete `aws_` prefix

Commit:f6af48d
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Make `aws.sdk.region` and `aws.sdk.request_id` optional Those fields may not be provided if request was initied without region setting, or errored at early validation phase BREAKING CHANGE: - `aws.sdk.region` and `aws.sdk.request_id` are made optional

Commit:87af073
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Remove `aws.sdk.account_id` as it's not directly accessible BREAKING CHANGE: Remove `aws.sdk.account_id` tag

Commit:8b8b582
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Cleanup numbering of tag properties BREAKING CHANGE: Number ids of tag properties in AWS SDK context are changed

Commit:47fe2c6
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Remove duplicate `operation` tags BREAKING CHANGE: Remove`operation` tags from `aws.sdk.<service>` context in favor of existing `aws.sdk.operation` tag

Commit:4027b75
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Move base AWS SDK tags to `aws.sdk` namespace BREAKING CHANGE: AWS SDK base tags are moved from service specific (`aws.sdk.<service>`) context to generic (`aws.sdk`)

Commit:a1d9431
Author:Mariusz Nowak
Committer:Mariusz Nowak

refactor: Fix property comments

Commit:6bb5d3d
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Add `aws.sdk.dynamodb.filter_expression` tag

Commit:e622bae
Author:Dan Jarvis
Committer:Dan Jarvis

chore: Updated proto docs

Commit:0861571
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Remove url related `aws.lambda.api_gateway.request` tags BREAKING CHANGE: Remove url related `aws.lambda.api_gateway.request` tags. Instead `aws.lambda.http` tags should be filled only

Commit:855070d
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Improve HTTP request tags Improve ordering, add `host` (to report on a domain), `query` (to report query string) i and `error_code` (to report on errorneous requests) BREAKING CHANGE: Reordered tags in context `HttpTags` and added required `host` tag

Commit:f5b3764
Author:Mariusz Nowak

feat: Make `status_code` optional in express tracking BREAKING CHANGE: `ExpressTags.status_code` is converted to be optional Express handling may fail or (theoretically) go beyond to the next invocation

Commit:e46b8d8
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Make `status_code` optional in express tracking BREAKING CHANGE: `ExpressTags.status_code` is converted to be optional Express handling may fail or (theoretically) go beyond to the next invocation

Commit:f862891
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Make `status_code` optional in HTTP tracking BREAKING CHANGE: `HttpTags.status_code` is converted to be optional Request may fail due to network error, or span over next invocation and then we won't have the status code

Commit:9590339
Author:Mariusz Nowak

feat: Make `status_code` optional in HTTP tracking BREAKING CHANGE: `HttpTags.status_code` is converted to be optional Request may fail due to network error, or span over next invocation and then we won't have the status code

Commit:9152c8a
Author:Max Marze
Committer:GitHub

feat: Add RequestResponse Schema (#177)

Commit:705087b
Author:Mariusz Nowak
Committer:Mariusz Nowak

fix: Remove tags which do not apply to `aws.lambda` span `aws.lambda.sqs.operation` and `aws.lambda.sns.operation` apply only to SDK spans and not `aws.lambda` span BREAKING CHANGE: `aws.lambda.sqs.operation` and `aws.lambda.sns.operation`are removed from schema (been added by mistake as they apply only to AWS SDK spans)

Commit:6100b51
Author:Mariusz Nowak
Committer:Mariusz Nowak

fix: Fix schema property name BREAKING CHANGE: `AwsApiGatewayRequestTags.string_parameters` is renamed to `AwsApiGatewayRequestTags.query_string_parameters`

Commit:30711e5
Author:Max Marze
Committer:GitHub

feat: Add account_id to lambda root span tags (#164)

Commit:8ca71a6
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Mark as optional properties not provided by the extension BREAKING CHANGE: Some properties out of `SlsTags` and `AwsLambdaTags` where changed to be optional

Commit:a55d091
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Unify tags definiton rules BREAKING CHANGE: Top level tags are no longer expected to have underscores replaced with ".", and they were reorganized into nested structure

Commit:bfb26db
Author:Max Marze
Committer:GitHub

Instrumentation v2 Protobufs (#139) * Initial Protobuf Definitions * Setup Rollup for building * Rescope protobufs to serverless package * Add README with build instructions * Add TagSets definition * Implement Lambda, Aws Sdk, Node Http, & Express Tagsets * Add Working with Protobufs doc * Add protoscript as a depedency for bundle * Add Protobuf Node PR workflow * Add Publish @serverless/sdk-schema workflow * Add definitions of all current tags * Seperate sdk-schema npm build and protobuf folder * Add none-bundled js in published package * Update sdk-schema publish workflow * Update starting field number for tag messages * Remane tagset to tags and setup nested structure * Add basic payload unit test * Eslint ignore sdk-schema tests that depend on built code * Add Why Protobuf section * Update Tags.proto comments * Update node-validate for sdk-schema * Run sdk-schema actions when proto folder changes * Fix sdk-schema path in validate workflow * Handle buf lint with build step * Update trace proto with correct import * Build sdk-schema to run unit tests * Add sdk-schema steps to node14 validate * Update path on node14 build * Switch to ts-proto to better support node 14 * Update rollup to include externals && add sdk-schema to node-integrate * Remove external from rollup config * Remove proto from protobuf package paths * Update sdk tag names * Run workflows on proto changes * Cleanup sdk-schema eslint config * Update sdk-schema readme * Update sdk-schema test to match new sdk tag names * Add Error outcome enum * Fix buf lint issue with outcome enum * Add outcome to test fixture * Use generated enum object to serialize correctly during tests * Add protoc options for golang * Remove unused protobuf and add sls global tags message * Cleanup github workflows * Do not ignore sdk-schema tests on lint * Add repository field to sdk-schema package.json * Update sdk-schema readme * Split tags protobuf into multiple files * Update eslint to check rollup * Update eslint to check rollup * Dynamic imports in sdk-schema tests * Update eslint to check rollup * coldstart filed name as question * Update condition for cache checks in github actions * Update sdk-schema tests for field name changes

Commit:7f5d4a2
Author:Roberto Faga

Revert unit tests changes, removed useless protoc files

Commit:2d8a048
Author:Roberto Faga

Merge branch 'main' into go-external/fasthttp

Commit:70f26e6
Author:Mariusz Nowak
Committer:Mariusz Nowak

perf: Optimize protobuf encoding by using pre-compiled interface

Commit:9c1e83b
Author:Roberto Faga

Starting a external agent go version

Commit:13a7a72
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Split internal and external extension into independent extensions Still they're still built into one extension file BREAKING CHANGE: Path to exec wrapper have changed from `/opt/otel-extension/internal/exec-wrapper.sh` to `/opt/otel-extension-internal-node/exec-wrapper.sh`. Change should be reflected when configuring `AWS_LAMBDA_EXEC_WRAPPER` variable for lambda

Commit:c6b1427
Author:Mariusz Nowak
Committer:Mariusz Nowak

refactor: Seclude node runtime packages

Commit:aaa2828
Author:Dan Jarvis
Committer:GitHub

chore: added original properties and rawHttp path (#14) * Added original properties and rawHttp path * Removed .DS_Store * Added original props to lambda instrumentation * Added proto comment * Added coldstart duration metric

Commit:4190647
Author:Mariusz Nowak
Committer:Mariusz Nowak

refactor: Organize external and internal extension into its repositories

Commit:6b11ec9
Author:Mariusz Nowak
Committer:Mariusz Nowak

refactor: Unify file naming

Commit:da711af
Author:Mariusz Nowak
Committer:Mariusz Nowak

feat: Inject POC version of `aws-lambda-otel-extension` Source: https://github.com/serverlessinc/platform-core/tree/cea9939e0b15fef57e126809cd8b3e4c18bf369d/lambda-layer/otel-layer-extension

Commit:f22ccbd
Author:Mariusz Nowak
Committer:Mariusz Nowak

refactor: Group all extension layer files in `opt` filder