From e5fbf5fbd5d67fbb1e9ecf84a93393e2145364d6 Mon Sep 17 00:00:00 2001 From: Guangya Liu Date: Sat, 14 Dec 2024 10:31:21 -0500 Subject: [PATCH 1/4] [chore] Update vertex_ai to vertex.ai Signed-off-by: Guangya Liu --- docs/attributes-registry/gen-ai.md | 2 +- docs/gen-ai/gen-ai-events.md | 10 +++++----- docs/gen-ai/gen-ai-metrics.md | 10 +++++----- docs/gen-ai/gen-ai-spans.md | 2 +- model/gen-ai/registry.yaml | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/attributes-registry/gen-ai.md b/docs/attributes-registry/gen-ai.md index 6606150d2e..784dfaa934 100644 --- a/docs/attributes-registry/gen-ai.md +++ b/docs/attributes-registry/gen-ai.md @@ -70,7 +70,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | --- diff --git a/docs/gen-ai/gen-ai-events.md b/docs/gen-ai/gen-ai-events.md index 4c12ee55d5..f4b0981a16 100644 --- a/docs/gen-ai/gen-ai-events.md +++ b/docs/gen-ai/gen-ai-events.md @@ -87,7 +87,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | **Body fields:** @@ -142,7 +142,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | **Body fields:** @@ -197,7 +197,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | **Body fields:** @@ -267,7 +267,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | **Body fields:** @@ -323,7 +323,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | **Body fields:** diff --git a/docs/gen-ai/gen-ai-metrics.md b/docs/gen-ai/gen-ai-metrics.md index f47e0b2280..842e958e64 100644 --- a/docs/gen-ai/gen-ai-metrics.md +++ b/docs/gen-ai/gen-ai-metrics.md @@ -107,7 +107,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | --- @@ -200,7 +200,7 @@ Instrumentations SHOULD document the list of errors they report. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -291,7 +291,7 @@ Instrumentations SHOULD document the list of errors they report. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -369,7 +369,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -446,7 +446,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/docs/gen-ai/gen-ai-spans.md b/docs/gen-ai/gen-ai-spans.md index 70c8d3d5bf..c4953b913b 100644 --- a/docs/gen-ai/gen-ai-spans.md +++ b/docs/gen-ai/gen-ai-spans.md @@ -120,7 +120,7 @@ Instrumentations SHOULD document the list of errors they report. | `cohere` | Cohere | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `vertex_ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/model/gen-ai/registry.yaml b/model/gen-ai/registry.yaml index 918b0a2f21..81b687d692 100644 --- a/model/gen-ai/registry.yaml +++ b/model/gen-ai/registry.yaml @@ -13,9 +13,9 @@ groups: stability: experimental value: "openai" brief: 'OpenAI' - - id: vertex_ai + - id: vertex.ai stability: experimental - value: "vertex_ai" + value: "vertex.ai" brief: 'Vertex AI' - id: anthropic stability: experimental From 89106f87a71bba1f3620795d3fb4c76818530b59 Mon Sep 17 00:00:00 2001 From: Guangya Liu Date: Sun, 15 Dec 2024 21:58:58 -0500 Subject: [PATCH 2/4] Added changelog --- .chloggen/1684-vertex-ai.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .chloggen/1684-vertex-ai.yaml diff --git a/.chloggen/1684-vertex-ai.yaml b/.chloggen/1684-vertex-ai.yaml new file mode 100644 index 0000000000..4e7473e99e --- /dev/null +++ b/.chloggen/1684-vertex-ai.yaml @@ -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: gen_ai + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Update vertex_ai to vertex.ai + +# 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: [1684] + +# (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: From 19865b553f7e9f10aacf97bd132a732d94a3cc2b Mon Sep 17 00:00:00 2001 From: Guangya Liu Date: Mon, 16 Dec 2024 08:37:04 -0800 Subject: [PATCH 3/4] deprecate vertex_ai --- docs/attributes-registry/gen-ai.md | 1 + model/gen-ai/registry.yaml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/attributes-registry/gen-ai.md b/docs/attributes-registry/gen-ai.md index 784dfaa934..c31984adc5 100644 --- a/docs/attributes-registry/gen-ai.md +++ b/docs/attributes-registry/gen-ai.md @@ -71,6 +71,7 @@ If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`. | `ibm.watsonx.ai` | IBM Watsonx AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `openai` | OpenAI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `vertex.ai` | Vertex AI | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `vertex_ai` | Deprecated. Use `vertex.ai` instead. | ![Deprecated](https://img.shields.io/badge/-deprecated-red)
Replaced by `vertex.ai`. | --- diff --git a/model/gen-ai/registry.yaml b/model/gen-ai/registry.yaml index 81b687d692..aede99db1e 100644 --- a/model/gen-ai/registry.yaml +++ b/model/gen-ai/registry.yaml @@ -37,6 +37,11 @@ groups: stability: experimental value: "aws.bedrock" brief: 'AWS Bedrock' + - id: vertex_ai + stability: experimental + value: "vertex_ai" + brief: 'Deprecated. Use `vertex.ai` instead.' + deprecated: "Replaced by `vertex.ai`." brief: The Generative AI product as identified by the client or server instrumentation. note: | The `gen_ai.system` describes a family of GenAI models with specific model identified From f37912feec1ed8d8eb6451bc93285d28ab562412 Mon Sep 17 00:00:00 2001 From: Guangya Liu Date: Mon, 16 Dec 2024 08:38:46 -0800 Subject: [PATCH 4/4] updated changelog to deprecation --- .chloggen/1684-vertex-ai.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chloggen/1684-vertex-ai.yaml b/.chloggen/1684-vertex-ai.yaml index 4e7473e99e..3afd6c77df 100644 --- a/.chloggen/1684-vertex-ai.yaml +++ b/.chloggen/1684-vertex-ai.yaml @@ -4,7 +4,7 @@ # your pull request title with [chore] or use the "Skip Changelog" label. # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement +change_type: deprecation # The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) component: gen_ai