Skip to content

Commit

Permalink
Merge branch 'main' into container_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopgrassi authored Feb 8, 2024
2 parents b01b1a8 + e2382e6 commit 3946e56
Show file tree
Hide file tree
Showing 31 changed files with 67 additions and 31 deletions.
22 changes: 22 additions & 0 deletions .chloggen/661.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Use this changelog template to create an entry for release notes.
#
# If your change doesn't affect end users you should instead start
# your pull request title with [chore] or use the "Skip Changelog" label.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
component: messaging

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Add messaging semantic conventions for settlement spans

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
# The values here must be integers.
issues: [621]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
1 change: 1 addition & 0 deletions .chloggen/TEMPLATE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ component:
note:

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
# The values here must be integers.
issues: []

# (Optional) One or more lines of additional information to render under the primary note.
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
- `type` to `process.context_switch_type`
- Rename attributes for `process.paging.faults`
- `type` to `process.paging.fault_type`
- Fix JVM buffer metric schema translations
([#683](https://github.com/open-telemetry/semantic-conventions/pull/683))

### Features

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ from `.yaml` files in the [/.chloggen](/.chloggen) directory.
Your pull request should add a new `.yaml` file to this directory.
The name of your file can be arbitrary but must be unique since the last release.

During the release process, all `./chloggen/*.yaml` files are transcribed into
During the release process, all `./.chloggen/*.yaml` files are transcribed into
`CHANGELOG.md` and then deleted.

1. Create an entry file using `make chlog-new`. The command generates a new file,
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ chlog-validate: $(CHLOGGEN)

.PHONY: chlog-preview
chlog-preview: $(CHLOGGEN)
$(CHLOGGEN) update --config $(CHLOGGEN_CONFIG) --dry --version $(VERSION)
$(CHLOGGEN) update --config $(CHLOGGEN_CONFIG) --dry

.PHONY: chlog-update
chlog-update: $(CHLOGGEN)
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ cascade:
body_class: otel-docs-spec
github_repo: &repo https://github.com/open-telemetry/semantic-conventions
github_subdir: docs
path_base_for_github_subdir: content/en/docs/specs/semconv/
path_base_for_github_subdir: tmp/semconv/docs/
github_project_repo: *repo
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/_index.md
from: tmp/semconv/docs/_index.md
to: README.md
--->

Expand Down
1 change: 1 addition & 0 deletions docs/attributes-registry/host.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--- Hugo front matter used to generate the website version of this page:
--->

# Host

## Host Attributes
Expand Down
1 change: 1 addition & 0 deletions docs/attributes-registry/os.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: OS
--->

# OS

## Operating System Attributes
Expand Down
1 change: 1 addition & 0 deletions docs/attributes-registry/url.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: URL
--->

# URL

## URL Attributes
Expand Down
2 changes: 1 addition & 1 deletion docs/cloud-providers/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Cloud Providers
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/cloud-providers/_index.md
from: tmp/semconv/docs/cloud-providers/_index.md
to: cloud-providers/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/cloudevents/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: CloudEvents
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/cloudevents/_index.md
from: tmp/semconv/docs/cloudevents/_index.md
to: cloudevents/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/database/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Database
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/database/_index.md
from: tmp/semconv/docs/database/_index.md
to: database/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/database/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ linkTitle: MSSQL

**Status**: [Experimental][DocumentStatus]

The Semantic Conventions for the [Microsoft SQL Server](https://www.microsoft.com/sql-server) extend and override the [Database Semantic Conventions](database-spans.md)
The Semantic Conventions for the *Microsoft SQL Server* extend and override the [Database Semantic Conventions](database-spans.md)
that describe common database operations attributes in addition to the Semantic Conventions
described on this page.

Expand Down
2 changes: 1 addition & 1 deletion docs/dotnet/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: .NET
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/dotnet/_index.md
from: tmp/semconv/docs/dotnet/_index.md
to: dotnet/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/exceptions/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Exceptions
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/exceptions/_index.md
from: tmp/semconv/docs/exceptions/_index.md
to: exceptions/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/faas/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: FaaS
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/faas/_index.md
from: tmp/semconv/docs/faas/_index.md
to: faas/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/feature-flags/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Feature Flags
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/feature-flags/_index.md
from: tmp/semconv/docs/feature-flags/_index.md
to: feature-flags/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/general/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: General
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/general/_index.md
from: tmp/semconv/docs/general/_index.md
to: general/README.md
weight: -1
--->
Expand Down
2 changes: 1 addition & 1 deletion docs/http/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: HTTP
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/http/_index.md
from: tmp/semconv/docs/http/_index.md
to: http/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/messaging/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Messaging Systems
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/messaging/_index.md
from: tmp/semconv/docs/messaging/_index.md
to: messaging/README.md
--->

Expand Down
16 changes: 12 additions & 4 deletions docs/messaging/messaging-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,18 +184,19 @@ If the destination name is dynamic, such as a [conversation ID](#conversations)
In these cases, an artificial destination name that best expresses the destination, or a generic, static fallback like `"(anonymous)"` for [anonymous destinations](#temporary-and-anonymous-destinations) SHOULD be used instead.

The values allowed for `<operation name>` are defined in the section [Operation names](#operation-names) below.
If the format above is used, the operation name MUST match the `messaging.operation` attribute defined for message consumer spans below.

Examples:

* `shop.orders publish`
* `shop.orders receive`
* `shop.orders process`
* `shop.orders settle`
* `print_jobs publish`
* `topic with spaces process`
* `AuthenticationRequest-Conversations process`
* `topic with spaces deliver`
* `AuthenticationRequest-Conversations settle`
* `(anonymous) publish` (`(anonymous)` being a stable identifier for an unnamed destination)

Messaging system specific adaptions to span naming MUST be documented in [semantic conventions for specific messaging technologies](#semantic-conventions-for-specific-messaging-technologies).

### Operation names

The following operations related to messages are defined for these semantic conventions:
Expand All @@ -206,6 +207,7 @@ The following operations related to messages are defined for these semantic conv
| `create` | A message is created. "Create" spans always refer to a single message and are used to provide a unique creation context for messages in batch publishing scenarios. |
| `receive` | One or more messages are requested by a consumer. This operation refers to pull-based scenarios, where consumers explicitly call methods of messaging SDKs to receive messages. |
| `deliver` | One or more messages are passed to a consumer. This operation refers to push-based scenarios, where consumer register callbacks which get called by messaging SDKs. |
| `settle` | One or more messages are settled. |

### Span kind

Expand Down Expand Up @@ -269,6 +271,12 @@ batch of messages, or for no message at all (if it is signalled that no
messages were received). For each message it accounts for, the "Deliver" or
"Receive" span SHOULD link to the message's creation context.

"Settle" spans SHOULD be created for every manually or automatically triggered
settlement operation. A single "Settle" span can account for a single message
or for multiple messages (in case messages are passed for settling as batches).
For each message it accounts for, the "Settle" span MAY link to the creation
context of the message.

## Messaging attributes

Messaging attributes are organized into the following namespaces:
Expand Down
4 changes: 2 additions & 2 deletions docs/mobile/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: mobile
linkTitle: Mobile
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/mobile/_index.md
from: tmp/semconv/docs/mobile/_index.md
to: mobile/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/object-stores/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Object Stores
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/object-stores/_index.md
from: tmp/semconv/docs/object-stores/_index.md
to: object-stores/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/resource/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Resource
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/resource/_index.md
from: tmp/semconv/docs/resource/_index.md
to: resource/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/resource/cloud-provider/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Resource Cloud Provider
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/resource/cloud-provider/_index.md
from: tmp/semconv/docs/resource/cloud-provider/_index.md
to: resource/cloud-provider/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/resource/cloud-provider/aws/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: AWS
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/resource/cloud-provider/aws/_index.md
from: tmp/semconv/docs/resource/cloud-provider/aws/_index.md
to: resource/cloud-provider/aws/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/resource/cloud-provider/gcp/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: GCP
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/resource/cloud-provider/gcp/_index.md
from: tmp/semconv/docs/resource/cloud-provider/gcp/_index.md
to: resource/cloud-provider/gcp/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/rpc/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: RPC
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/rpc/_index.md
from: tmp/semconv/docs/rpc/_index.md
to: rpc/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/system/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: System
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/system/_index.md
from: tmp/semconv/docs/system/_index.md
to: system/README.md
--->

Expand Down
2 changes: 1 addition & 1 deletion docs/url/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: URL
path_base_for_github_subdir:
from: content/en/docs/specs/semconv/url/_index.md
from: tmp/semconv/docs/url/_index.md
to: url/README.md
--->

Expand Down
4 changes: 2 additions & 2 deletions schema-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ versions:
attribute_map:
pool: jvm.buffer.pool.name
apply_to_metrics:
- jvm.buffer.usage
- jvm.buffer.limit
- jvm.buffer.memory.usage
- jvm.buffer.memory.limit
- jvm.buffer.count
# https://github.com/open-telemetry/semantic-conventions/pull/89
- rename_attributes:
Expand Down

0 comments on commit 3946e56

Please sign in to comment.