<commit_before>defmodule OpenTelemetry.Baggage do
  @moduledoc """
  Baggage is used to annotate telemetry, adding context and information to
  metrics, traces, and logs. It is represented by a set of name/value pairs
  describing user-defined properties.
  """

  defdelegate set(keyvalues), to: :otel_baggage
  defdelegate set(key, values), to: :otel_baggage
  defdelegate get_all(), to: :otel_baggage
  defdelegate clear(), to: :otel_baggage<commit_msg>add new api functions to the elixir module<commit_after>defmodule OpenTelemetry.Baggage do
  @moduledoc """
  Baggage is used to annotate telemetry, adding context and information to
  metrics, traces, and logs. It is represented by a set of name/value pairs
  describing user-defined properties.
  """

  defdelegate set(keyvalues), to: :otel_baggage
  defdelegate set(ctx_or_key, keyvalues), to: :otel_baggage
  defdelegate set(ctx, key, values), to: :otel_baggage
  defdelegate get_all(), to: :otel_baggage
  defdelegate get_all(ctx), to: :otel_baggage
  defdelegate clear(), to: :otel_baggage
  defdelegate clear(ctx), to: :otel_baggage
{'fraction_non_alphanumeric': 0.08667883211678833, 'fraction_numerical': 0.0, 'mean_word_length': 5.304597701149425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5390608', 'n_tokens_mistral': 364, 'n_tokens_neox': 344, 'n_words': 116}