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

Add support for OpenTelemetry tracing via OTLP #785

Merged
merged 1 commit into from
Oct 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/install-deps
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -euo pipefail

sudo apt-get update
sudo apt-get install capnproto runc
sudo apt-get install capnproto runc protobuf-compiler
18 changes: 5 additions & 13 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ on:
branches:
- main
env:
CROSS_VERSION: v0.2.4
CARGO_TERM_COLOR: always
ACTION_MSRV_TOOLCHAIN: 1.58.1
TRIPLE: unknown-linux-gnu
jobs:
build:
strategy:
Expand All @@ -31,18 +30,11 @@ jobs:
~/.cargo/git
target
key: ${{ runner.os }}-cross-${{matrix.arch}}-${{ hashFiles('**/Cargo.lock') }}
- name: Select Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env['ACTION_MSRV_TOOLCHAIN'] }}
default: true
override: true
components: rustfmt
- name: Install cross-rs
run: |
curl -sSfL --retry 5 --retry-delay 3 \
"https://github.com/cross-rs/cross/releases/download/$CROSS_VERSION/cross-x86_64-unknown-linux-gnu.tar.gz" \
-o- | tar xfz - -C /usr/local/bin
cargo install cross --git https://github.com/cross-rs/cross
cross --version
- name: Ensure the latest base image
run: docker pull ghcr.io/cross-rs/${{matrix.arch}}-$TRIPLE:main
- name: Build for ${{matrix.arch}}
run: cross build --target ${{matrix.arch}}-unknown-linux-gnu
run: cross build -v --target ${{matrix.arch}}-$TRIPLE
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ linters-settings:
varnamelen:
min-name-length: 1
cyclop:
max-complexity: 15
max-complexity: 20
gocognit:
min-complexity: 30
nestif:
Expand Down
Loading