8000 Add grpc tools · DataDog/datadog-lambda-python@aae9a42 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aae9a42

Browse files
committed
Add grpc tools
1 parent 7c1a48c commit aae9a42

13 files changed

+501
-2
lines changed

datadog_lambda/pb/__init__.py

Whitespace-only changes.

datadog_lambda/pb/span.proto

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
syntax = "proto3";
2+
3+
package pb;
4+
5+
6+
message Span {
7+
string service = 1;
8+
string name = 2;
9+
string resource = 3;
10+
uint64 traceID = 4;
11+
uint64 spanID = 5;
12+
uint64 parentID = 6;
13+
int64 start = 7;
14+
int64 duration = 8;
15+
int32 error = 9;
16+
map<string, string> meta = 10;
17+
map<string, double> metrics = 11;
18+
string type = 12;
19+
}

datadog_lambda/pb/span_pb2.py

Lines changed: 243 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datadog_lambda/pb/span_pb2_grpc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2+
import grpc
3+

datadog_lambda/pb/trace.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
syntax = "proto3";
2+
3+
package pb;
4+
5+
import "span.proto";
6+
7+
message APITrace {
8+
uint64 traceID = 1;
9+
repeated Span spans = 2;
10+
int64 startTime = 6;
11+
int64 endTime = 7;
12+
}

datadog_lambda/pb/trace_payload.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
syntax = "proto3";
2+
3+
package pb;
4+
5+
import "trace.proto";
6+
import "span.proto";
7+
8+
message TracePayload {
9+
string hostName = 1;
10+
string env = 2;
11+
repeated APITrace traces = 3;
12+
repeated Span transactions = 4;
13+
}

datadog_lambda/pb/trace_payload_pb2.py

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2+
import grpc
3+

0 commit comments

Comments
 (0)
0