Skip to content

Commit

Permalink
fixed readme and add new release pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohuertasm committed Oct 12, 2024
1 parent c86b398 commit a23a42e
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release_dd_tracing_layer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release DD Tracing Layer

on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:

jobs:
crates:
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@master
with:
rust-version: stable
- name: Checkout
uses: actions/checkout@v2
- name: Publish to crates.io
run: |
cargo login ${{secrets.crates_key}}
cargo publish -p dd-tracing-layer
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Release
name: Release Log Tracing Layer

on:
push:
tags:
- "v*.*.*"
- 'v*.*.*-log-tracing-layer'
workflow_dispatch:

jobs:
crates:
runs-on: ubuntu-latest
Expand All @@ -20,4 +20,3 @@ jobs:
run: |
cargo login ${{secrets.crates_key}}
cargo publish -p log-tracing-layer
cargo publish -p dd-tracing-layer
22 changes: 22 additions & 0 deletions .github/workflows/release_nr_tracing_layer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release NR Tracing Layer

on:
push:
tags:
- 'v*.*.*-nr-tracing-layer'
workflow_dispatch:

jobs:
crates:
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@master
with:
rust-version: stable
- name: Checkout
uses: actions/checkout@v2
- name: Publish to crates.io
run: |
cargo login ${{secrets.crates_key}}
cargo publish -p nr-tracing-layer
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ It's a base library to easily build [tracing layers](https://docs.rs/tracing-sub
[![Crates.io](https://img.shields.io/crates/v/dd-tracing-layer?label=dd-tracing-layer&style=flat-square)](https://crates.io/crates/dd-tracing-layer)

Tracing layer that will send logs to the [Datadog Log API](https://docs.datadoghq.com/api/latest/logs/?code-lang=typescript#send-logs).

[![Crates.io](https://img.shields.io/crates/v/nr-tracing-layer?label=nr-tracing-layer&style=flat-square)](https://crates.io/crates/nr-tracing-layer)

Tracing layer that will send logs to the [New Relic Log API](https://docs.newrelic.com/docs/logs/get-started/get-started-log-management/).

0 comments on commit a23a42e

Please sign in to comment.