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

feat: Integrate Tailcall with OpenTelemetry #134

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion tailcall/server.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ schema
)

# Specify a base url for all HTTP requests.
@upstream(timeout: 5) {
@upstream(timeout: 5)

@telemetry(
export: {
otlp: {
url: "http://localhost:4318"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the otel collector should be able to receive telemetry via http on port 4318

https://github.com/kevinmichaelchen/temporal-saga-grpc/blob/main/docker-compose.yml#L39

}
}
) {

query: Query
mutation: Mutation
}
Expand Down
2 changes: 1 addition & 1 deletion taskfiles/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tasks:
cmds:
- pkgx killport 8000
- |
pkgx tailcall start \
pkgx tailcall@latest start \
./tailcall/server.graphql \
./tailcall/org.graphql \
./tailcall/profile.graphql \
Expand Down
Loading