Skip to content

Commit

Permalink
Merge pull request #785 from saschagrunert/tracing
Browse files Browse the repository at this point in the history
Add support for OpenTelemetry tracing via OTLP
  • Loading branch information
openshift-merge-robot authored Oct 10, 2022
2 parents 36b55d1 + f02db58 commit 43f6697
Show file tree
Hide file tree
Showing 13 changed files with 786 additions and 25 deletions.
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

0 comments on commit 43f6697

Please sign in to comment.