Skip to content

Commit 6608393

Browse files
authored
Fix links and make references sections in instrumentation readmes consistent (#62)
* Fix links and make references sections in instrumentation readmes consistent * up * exclude xai from check * fix openai link * up
1 parent bc2c6c4 commit 6608393

8 files changed

Lines changed: 21 additions & 11 deletions

File tree

.github/workflows/check_links_config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
},
99
{
1010
"pattern": "http(s)?://example.com"
11+
},
12+
{
13+
"pattern": "http(s)?://x.ai"
1114
}
1215
],
1316
"aliveStatusCodes": [429, 200]

instrumentation/opentelemetry-instrumentation-anthropic/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,7 @@ References
6464
----------
6565

6666
* `OpenTelemetry Project <https://opentelemetry.io/>`_
67+
* `OpenTelemetry GenAI semantic conventions <https://opentelemetry.io/docs/specs/semconv/gen-ai/>`_
68+
* `Anthropic SDK (Python) <https://github.com/anthropics/anthropic-sdk-python>`_
6769
* `Anthropic Documentation <https://docs.anthropic.com/>`_
6870

instrumentation/opentelemetry-instrumentation-claude-agent-sdk/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ References
8080
----------
8181

8282
* `OpenTelemetry Project <https://opentelemetry.io/>`_
83+
* `OpenTelemetry GenAI semantic conventions <https://opentelemetry.io/docs/specs/semconv/gen-ai/>`_
8384
* `Claude Agent SDK (Python) <https://github.com/anthropics/claude-agent-sdk-python>`_
8485
* `Anthropic Documentation <https://docs.anthropic.com/>`_

instrumentation/opentelemetry-instrumentation-google-genai/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ To uninstrument clients, call the uninstrument method:
125125
126126
References
127127
----------
128+
129+
* `OpenTelemetry Project <https://opentelemetry.io/>`_
130+
* `OpenTelemetry GenAI semantic conventions <https://opentelemetry.io/docs/specs/semconv/gen-ai/>`_
131+
* `Google Gen AI SDK (Python) <https://github.com/googleapis/python-genai>`_
128132
* `Google Gen AI SDK Documentation <https://ai.google.dev/gemini-api/docs/sdks>`_
129-
* `Google Gen AI SDK on GitHub <https://github.com/googleapis/python-genai>`_
130133
* `Using Vertex AI with Google Gen AI SDK <https://cloud.google.com/vertex-ai/generative-ai/docs/sdks/overview>`_
131-
* `OpenTelemetry Project <https://opentelemetry.io/>`_
132-
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_

instrumentation/opentelemetry-instrumentation-openai-agents-v2/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ The :mod:`examples` directory contains runnable scenarios, including:
104104
References
105105
----------
106106

107-
* `OpenTelemetry Python Contrib <https://github.com/open-telemetry/opentelemetry-python-contrib>`_
108-
* `OpenTelemetry GenAI semantic conventions <https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/>`_
109-
* `OpenAI Agents SDK <https://github.com/openai/openai-agents-python>`_
107+
* `OpenTelemetry Project <https://opentelemetry.io/>`_
108+
* `OpenTelemetry GenAI semantic conventions <https://opentelemetry.io/docs/specs/semconv/gen-ai/>`_
109+
* `OpenAI Agents SDK (Python) <https://github.com/openai/openai-agents-python>`_
110+
* `OpenAI Documentation <https://developers.openai.com/api/docs>`_

instrumentation/opentelemetry-instrumentation-openai-agents-v2/src/opentelemetry/instrumentation/openai_agents/span_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
References:
1313
- OpenTelemetry GenAI Semantic Conventions:
14-
https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/
14+
https://opentelemetry.io/docs/specs/semconv/gen-ai/
1515
- OpenInference Pattern: https://github.com/Arize-ai/openinference
1616
"""
1717

instrumentation/opentelemetry-instrumentation-openai-v2/README.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Many LLM platforms support the OpenAI SDK. This means systems such as the follow
2222
- ``azure.ai.openai``
2323
* - `Gemini <https://developers.googleblog.com/en/gemini-is-now-accessible-from-the-openai-library/>`_
2424
- ``gemini``
25-
* - `Perplexity <https://docs.perplexity.ai/api-reference/chat-completions>`_
25+
* - `Perplexity <https://docs.perplexity.ai/api-reference/>`_
2626
- ``perplexity``
2727
* - `xAI <https://x.ai/api>`_ (Compatible with Anthropic)
2828
- ``xai``
@@ -144,7 +144,8 @@ To uninstrument clients, call the uninstrument method:
144144
145145
References
146146
----------
147-
* `OpenTelemetry OpenAI Instrumentation <https://opentelemetry-python-genai.readthedocs.io/en/latest/instrumentation/openai.html>`_
148-
* `OpenTelemetry Project <https://opentelemetry.io/>`_
149-
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_
150147

148+
* `OpenTelemetry Project <https://opentelemetry.io/>`_
149+
* `OpenTelemetry GenAI semantic conventions <https://opentelemetry.io/docs/specs/semconv/gen-ai/>`_
150+
* `OpenAI SDK (Python) <https://github.com/openai/openai-python>`_
151+
* `OpenAI Documentation <https://developers.openai.com/api/docs>`_

util/opentelemetry-util-genai/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,4 @@ References
147147
----------
148148

149149
* `OpenTelemetry Project <https://opentelemetry.io/>`_
150+
* `OpenTelemetry GenAI semantic conventions <https://opentelemetry.io/docs/specs/semconv/gen-ai/>`_

0 commit comments

Comments
 (0)