Skip to content
Open
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: 0 additions & 2 deletions .codespellignore

This file was deleted.

10 changes: 0 additions & 10 deletions .codespellrc

This file was deleted.

78 changes: 78 additions & 0 deletions .cspell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# cSpell:ignore textlintrc
# For settings, see
# https://www.streetsidesoftware.com/vscode-spell-checker/docs/configuration/
version: "0.2"
caseSensitive: false
useGitignore: true
enableGlobDot: true
import:
- https://cdn.jsdelivr.net/npm/@cspell/dict-people-names/cspell-ext.json
- https://cdn.jsdelivr.net/npm/@cspell/dict-redis/cspell-ext.json
ignorePaths:
- ".git"
- "bin"
- "CODEOWNERS"
- "*.j2"
- "*.thrift"
patterns:
- name: CodeBlock
pattern: |
/
^(\s*[~`]{3,}) # code-block start
.* # all languages and options, e.g. shell {hl_lines=[12]}
[\s\S]*? # content
\1 # code-block end
/igmx
- name: CodeName
pattern: |
/
([~`]) # Matches a single backtick or tilde to start a code block.
[^~`]*? # Matches any characters except backticks or tildes, non-greedy.
\1 # Matches the same symbol which started the match.
/x
- name: "GitHub Handle"
pattern: "@[a-zA-Z0-9-_]+\\b"
languageSettings:
- languageId: json, jsonc
includeRegExpList:
- CStyleComment
- languageId: markdown
ignoreRegExpList:
- CodeBlock
- CodeName
- GitHub Handle
- languageId: ruby
includeRegExpList:
- "#.*/g"
ignoreRegExpList:
- CodeName
- languageId: dockerfile, dockercompose, properties, yaml
includeRegExpList:
- "/#.*/g"
ignoreRegExpList:
- CodeName
dictionaries:
- aws
- companies
- people-names
- ruby
- ruby-gems
- softwareTerms
- software-tools
- redis
ignoreWords:
- kwarg
- MILLIS
- otcorrelations
- Rubyish
words:
- LOGRECORD
- traceid
- tracestate
- loggregator
- configurator

- autocorrection

- linkspector
- SARIF
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Notify us of an error or incorrect behaviour
about: Notify us of an error or incorrect behavior
title: ''
labels: 'bug'
assignees: ''
Expand All @@ -9,15 +9,15 @@ assignees: ''

<!--

NOTE: Please use this form to submit bugs or demonstrations of non spec compliant behaviour
NOTE: Please use this form to submit bugs or demonstrations of non spec compliant behavior

-->

**Description of the bug**

<!--

If this for behaviour that is not compliant with the OpenTelemetry Specification, please describe
If this for behavior that is not compliant with the OpenTelemetry Specification, please describe
what happened and what you expected with a link to the relevant portion of the spec.

-->
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,15 @@ jobs:
gem: "${{ matrix.gem }}"
ruby: "truffleruby"

codespell:
spelling-check:
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby' }}
name: Spelling Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: make codespell
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: streetsidesoftware/cspell-action@24fa8d3096a314ce263f39578744e9d9f8d80acf # v8.1.2
with:
use_cspell_files: true
config: .cspell.yml
suggestions: true
treat_flagged_words_as_errors: true
2 changes: 1 addition & 1 deletion .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
echo "Current directory: $(pwd)"
echo "Creating lock file for: $gemfile"

# Generate the gemlock files
# Generate the Gemfile.lock files
bundle lock || echo "Warning: Failed to generate lock file for $gemfile, continuing..."

cd "$ORIGINAL_DIR" || exit 1
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,4 @@
# rbenv configuration
.ruby-version

# Python virtual env for codespell
venv

tags
6 changes: 3 additions & 3 deletions .toys/.data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ commit_lint:
# Merge types allowed by the repo.
merge: squash

# List of all releaseable gems. Each gem should include:
# List of all releasable gems. Each gem should include:
# * name: The name of the gem. (Required.)
# * directory: Gem directory relative to the repo root. (Required.)
# * version_rb_path: Path to version.rb relative to the gem directory.
Expand All @@ -28,7 +28,7 @@ commit_lint:
# * version_constant: The fully-qualified version constant as an array.
# (Required because the OpenTelemetry namespace does not match the gem
# name "opentelemetry".)
# * changelog_path: Path to CHANGLEOG.md relative to the gem directory.
# * changelog_path: Path to CHANGELOG.md relative to the gem directory.
# (Required only if it is not in the expected location.)
gems:
- name: opentelemetry-api
Expand Down Expand Up @@ -61,7 +61,7 @@ gems:

- name: opentelemetry-exporter-otlp
# we append a slash here to avoid the naive substring start_with? directory-matching condition in underlying toys gem
# which casues exporter/otlp to incorrectly match when changes occur in exporter/otlp-logs or exporter/otlp-metrics
# which causes exporter/otlp to incorrectly match when changes occur in exporter/otlp-logs or exporter/otlp-metrics
# https://github.com/dazuma/toys/blob/17ed449da8299f272b834470ff6b279a59e8070b/.toys/release/.lib/release_utils.rb#L436
# https://github.com/open-telemetry/opentelemetry-ruby/issues/1792
directory: exporter/otlp/
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ All notable changes to this project were documented in this file. This is of his

### Bug Fix

* [#299](https://github.com/open-telemetry/opentelemetry-ruby/pull/299) Fix probabilility sampler. ([@fbogsany](https://github.com/fbogsany))
* [#299](https://github.com/open-telemetry/opentelemetry-ruby/pull/299) Fix probability sampler. ([@fbogsany](https://github.com/fbogsany))

* [#301](https://github.com/open-telemetry/opentelemetry-ruby/pull/301) Fix require 'opentelemetry/instrumentation'. ([@fbogsany](https://github.com/fbogsany))

Expand Down
35 changes: 0 additions & 35 deletions Makefile

This file was deleted.

8 changes: 4 additions & 4 deletions api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

### v1.7.0 / 2025-09-17

* BREAKING CHANGE: Remove Span APIs for attributes and events
- BREAKING CHANGE: Remove Span APIs for attributes and events

* ADDED: Add record_exception option for in_span
* FIXED: Remove Span APIs for attributes and events
- ADDED: Add record_exception option for in_span
- FIXED: Remove Span APIs for attributes and events

### v1.6.0 / 2025-08-14

Expand Down Expand Up @@ -190,7 +190,7 @@
### v0.7.0 / 2020-10-07

- FIXED: Safely navigate span variable during error cases
- DOCS: Standardize toplevel docs structure and readme
- DOCS: Standardize top-level docs structure and readme
- DOCS: Fix param description in TextMapInjector for Baggage

### v0.6.0 / 2020-09-10
Expand Down
2 changes: 1 addition & 1 deletion exporter/jaeger/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

- ADDED: Add service_version setter to configurator
- FIXED: Update IL attribute naming convention to match spec
- DOCS: Standardize toplevel docs structure and readme
- DOCS: Standardize top-level docs structure and readme
- DOCS: Use BatchSpanProcessor in examples

### v0.6.0 / 2020-09-10
Expand Down
2 changes: 1 addition & 1 deletion exporter/otlp-logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ $> bundle exec rake test

```

**Commit the chnages and open a PR!**
**Commit the changes and open a PR!**

[opentelemetry-collector-home]: https://opentelemetry.io/docs/collector/about/
[opentelemetry-home]: https://opentelemetry.io
Expand Down
8 changes: 4 additions & 4 deletions exporter/otlp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

### v0.31.1 / 2025-10-21

* FIXED: Requires minimum SDK support for new parent_span_is_remote attribute
- FIXED: Requires minimum SDK support for new parent_span_is_remote attribute

### v0.31.0 / 2025-10-14

* ADDED: Add span flags support for isRemote property
- ADDED: Add span flags support for isRemote property

### v0.30.0 / 2025-02-25

Expand Down Expand Up @@ -98,7 +98,7 @@

### v0.20.6 / 2021-10-29

- FIXED: Add unexpected error handlign in BSP and OTLP exporter (#995)
- FIXED: Add unexpected error handling in BSP and OTLP exporter (#995)
- FIXED: Handle otlp exporter race condition gzip errors with retry

### v0.20.5 / 2021-09-29
Expand Down Expand Up @@ -216,7 +216,7 @@

- FIXED: OTLP parent_span_id should be nil for root
- DOCS: Fix use of add_event in OTLP doc
- DOCS: Standardize toplevel docs structure and readme
- DOCS: Standardize top-level docs structure and readme
- DOCS: Use BatchSpanProcessor in examples

### v0.6.0 / 2020-09-10
Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

8 changes: 4 additions & 4 deletions sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

### v1.10.0 / 2025-10-14

* ADDED: Add span flags support for isRemote property
- ADDED: Add span flags support for isRemote property

### v1.9.0 / 2025-09-16

* ADDED: Add record_exception option for in_span
- ADDED: Add record_exception option for in_span

### v1.8.1 / 2025-08-14

Expand Down Expand Up @@ -86,7 +86,7 @@

### v1.0.1 / 2021-10-29

- FIXED: Add unexpected error handlign in BSP and OTLP exporter (#995)
- FIXED: Add unexpected error handling in BSP and OTLP exporter (#995)

### v1.0.0 / 2021-09-29

Expand Down Expand Up @@ -267,7 +267,7 @@
- FIXED: Fork safety for batch processor
- FIXED: Don't generate a span ID unnecessarily
- DOCS: Fix Configurator#add_span_processor
- DOCS: Standardize toplevel docs structure and readme
- DOCS: Standardize top-level docs structure and readme

### v0.6.0 / 2020-09-10

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ module AWS
#
AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'

# The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping.
# The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping.
#
# @note Stability Level: development
#
Expand Down
Loading