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

Sem con 1.27.0 #733

Merged
merged 60 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
3af0ab1
single file
bryannaegele Apr 20, 2024
3ead588
Multiple files
bryannaegele Apr 21, 2024
3d66e8f
Refinement
bryannaegele Apr 21, 2024
8f86370
Switch to elixir script
bryannaegele Apr 21, 2024
1bd8c7b
Format generate
bryannaegele Apr 21, 2024
11177ef
Update README.md
bryannaegele Apr 25, 2024
a80626c
Pre-enum rework with weaver
bryannaegele Jun 23, 2024
53eac18
1.26.0 and weaver
bryannaegele Jun 24, 2024
d513564
Fixup generate script
bryannaegele Jun 24, 2024
2f01860
ignore copied guides
bryannaegele Jun 24, 2024
212199c
Remove old tests
bryannaegele Jun 24, 2024
3edffcf
typo
bryannaegele Jun 24, 2024
82b1319
template typos
bryannaegele Jun 24, 2024
b921da4
enum rework
bryannaegele Jun 25, 2024
186535f
Separate incubating attributes
bryannaegele Jul 10, 2024
938ea42
Remove single attribute tmpl
bryannaegele Jul 10, 2024
8e52910
Fix enum macros and add testing/ci
bryannaegele Jul 10, 2024
dba84aa
Fixup workflow events
bryannaegele Jul 10, 2024
6e19a4a
Undefined
bryannaegele Jul 10, 2024
b355a79
Move old modules back to old folder
bryannaegele Jul 10, 2024
e1cf5fd
Nest folder
bryannaegele Jul 10, 2024
0db2398
Merge branch 'main' into sem-con-1.25
bryannaegele Jul 10, 2024
31018c6
Deps get
bryannaegele Jul 10, 2024
8005eb0
Remove elixir exclude
bryannaegele Jul 10, 2024
3429bcf
Add metrics and license to hrl
bryannaegele Jul 15, 2024
3ec356e
Fix elixir metric acronym module names
bryannaegele Jul 16, 2024
f50940c
Metrics docs and doc organization refinement
bryannaegele Jul 16, 2024
b2e1a61
Clarify version references
bryannaegele Jul 16, 2024
f349463
Remove java references
bryannaegele Jul 19, 2024
548da52
Add semconv stability opt-in fun
bryannaegele Jul 23, 2024
0f3ad39
Improve usability of stability opt in lookup
bryannaegele Jul 23, 2024
bbcb147
Align with python
bryannaegele Jul 23, 2024
11294fe
Adjust enum approach
bryannaegele Jul 25, 2024
36c4e4f
typo
bryannaegele Jul 25, 2024
53fe0d3
Erlang enum value doc typos
bryannaegele Jul 25, 2024
8504d16
Remove custom enum functions
bryannaegele Jul 25, 2024
8749795
Run filenames through attributes filters
bryannaegele Jul 25, 2024
2c91bfe
Add renamed files
bryannaegele Jul 25, 2024
b7decf4
Use built-in acronym func and remove name smooshing
bryannaegele Jul 25, 2024
b7c8f17
Set up attr filtering for name collision
bryannaegele Jul 25, 2024
aeea23b
Fix elixir metrics tmpl
bryannaegele Jul 26, 2024
9943a06
Switch to release binary and makefile
bryannaegele Jul 26, 2024
d88ef0a
Fix-up file names
bryannaegele Jul 26, 2024
6653404
Test typo
bryannaegele Jul 26, 2024
df38bfa
Erl enum values to all snake case; fix-up erl atom declarations
bryannaegele Jul 26, 2024
9eddc38
Add schema urls
bryannaegele Jul 26, 2024
2ea65d0
Reorganize file layout
bryannaegele Jul 26, 2024
f426cb9
Update attribute location references
bryannaegele Jul 26, 2024
841992e
Expand clean targets in makefile
bryannaegele Jul 26, 2024
e3d0e46
Include stable attrs in incubating
bryannaegele Jul 29, 2024
8bd1a45
defdelegate stable elixir enum values
bryannaegele Jul 30, 2024
f3e9c52
include has to be include_lib for pkgs to compile correctly
bryannaegele Aug 14, 2024
f377d87
Remove unnecessary erl macro def quotes
bryannaegele Aug 17, 2024
2fa006d
deprecated compose cmd
bryannaegele Aug 17, 2024
cbe3e41
v1.27.0 start
bryannaegele Sep 14, 2024
3a2dd82
Remove more unrelated namespaces
bryannaegele Sep 14, 2024
a38fba2
Update versioning
bryannaegele Sep 14, 2024
357178d
Merge branch 'main' into sem-con-1.25
bryannaegele Sep 14, 2024
69b41af
Remove non-lang excludes and clean up doc guides
bryannaegele Sep 16, 2024
056e156
Merge branch 'main' into sem-con-1.25
bryannaegele Sep 23, 2024
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
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ scope-api:
scope-sdk:
- apps/opentelemetry/**

scope-semconv:
- apps/opentelemetry_semantic_conventions/**

scope-ci:
- .github/workflows/**
79 changes: 62 additions & 17 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name: Elixir
on:
pull_request:
branches:
- 'main'
- "main"
types: [opened, reopened, synchronize, labeled]

push:
branches:
- 'main'
- "main"

jobs:
format:
Expand All @@ -15,9 +17,9 @@ jobs:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: '26.1.2'
elixir-version: '1.15.7'
version-type: 'strict'
otp-version: "26.1.2"
elixir-version: "1.15.7"
version-type: "strict"
- uses: actions/cache@v4
name: Cache
with:
Expand All @@ -34,9 +36,9 @@ jobs:
name: Test SDK on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['26.1.2', '24.3.4.14']
elixir_version: ['1.15.7', '1.12.3']
rebar3_version: ['3.22.1']
otp_version: ["26.1.2", "24.3.4.14"]
elixir_version: ["1.15.7", "1.12.3"]
rebar3_version: ["3.22.1"]
os: [ubuntu-20.04]
exclude:
- elixir_version: "1.12.3"
Expand All @@ -51,7 +53,7 @@ jobs:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir_version }}
rebar3-version: ${{ matrix.rebar3_version }}
version-type: 'strict'
version-type: "strict"
- name: Compile
run: rebar3 as test compile
- name: ExUnit
Expand All @@ -62,9 +64,9 @@ jobs:
name: Test API on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['26.1.2', '24.3.4.14']
elixir_version: ['1.15.7', '1.12.3']
rebar3_version: ['3.22.1']
otp_version: ["26.1.2", "24.3.4.14"]
elixir_version: ["1.15.7", "1.12.3"]
rebar3_version: ["3.22.1"]
os: [ubuntu-20.04]
exclude:
- elixir_version: "1.12.3"
Expand All @@ -82,7 +84,7 @@ jobs:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir_version }}
rebar3-version: ${{ matrix.rebar3_version }}
version-type: 'strict'
version-type: "strict"
- uses: actions/cache@v4
name: Cache
with:
Expand All @@ -108,9 +110,9 @@ jobs:
name: Dialyze on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['26.1.2']
elixir_version: ['1.15.7']
rebar_version: ['3.22.1']
otp_version: ["26.1.2"]
elixir_version: ["1.15.7"]
rebar_version: ["3.22.1"]
os: [ubuntu-20.04]
env:
OTP_VERSION: ${{ matrix.otp_version }}
Expand All @@ -124,7 +126,7 @@ jobs:
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir_version }}
version-type: 'strict'
version-type: "strict"
- uses: actions/cache@v4
name: Cache
with:
Expand All @@ -138,3 +140,46 @@ jobs:
name: Deps
- run: mix dialyzer
name: Dialyzer

semconv_tests:
runs-on: ${{ matrix.os }}
if: (contains(github.event.pull_request.labels.*.name, 'language-elixir') && contains(github.event.pull_request.labels.*.name, 'scope-semconv'))
name: Test SemConv on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ["26.1.2", "24.3.4.14"]
elixir_version: ["1.15.7", "1.12.3"]
rebar3_version: ["3.22.1"]
os: [ubuntu-20.04]
exclude:
- elixir_version: "1.12.3"
- otp_version: "26.1.2"
defaults:
run:
working-directory: apps/opentelemetry_semantic_conventions
env:
OTP_VERSION: ${{ matrix.otp_version }}
ELIXIR_VERSION: ${{ matrix.elixir_version }}
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir_version }}
rebar3-version: ${{ matrix.rebar3_version }}
version-type: "strict"
- name: Cache
uses: actions/cache@v4
with:
path: |
~/deps
~/_build
key: ${{ runner.os }}-test-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-${{ hashFiles('**/mix.lock') }}

- name: Get and compile deps
if: steps.deps-cache.outputs.cache-hit != 'true'
run: |
mix deps.get
mix deps.compile
- name: ExUnit
run: mix test
Loading
Loading