File tree Expand file tree Collapse file tree 4 files changed +31
-5
lines changed
opentelemetry-instrumentation-google-genai/src/opentelemetry/instrumentation/google_genai
opentelemetry-instrumentation-openai-v2/src/opentelemetry/instrumentation/openai_v2 Expand file tree Collapse file tree 4 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1+
2+ | Instrumentation | Supported Packages | Metrics support | Semconv status |
3+ | --------------- | ------------------ | --------------- | -------------- |
4+ | [ opentelemetry-instrumentation-google-genai] ( ./opentelemetry-instrumentation-google-genai ) | google-genai >= 1.0.0 | No | development
5+ | [ opentelemetry-instrumentation-openai-v2] ( ./opentelemetry-instrumentation-openai-v2 ) | openai >= 1.26.0 | Yes | development
6+ | [ opentelemetry-instrumentation-vertexai] ( ./opentelemetry-instrumentation-vertexai ) | google-cloud-aiplatform >= 1.64 | No | development
Original file line number Diff line number Diff line change 1+ # Copyright The OpenTelemetry Authors
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ _instruments = ("google-genai >= 1.0.0" ,)
Original file line number Diff line number Diff line change 1414
1515
1616_instruments = ("openai >= 1.26.0" ,)
17+
18+ _supports_metrics = True
Original file line number Diff line number Diff line change 2727| --------------- | ------------------ | --------------- | -------------- |"""
2828
2929
30- def main ():
31- root_path = os .path .dirname (os .path .dirname (os .path .abspath (__file__ )))
32- base_instrumentation_path = os .path .join (root_path , "instrumentation" )
33-
30+ def main (base_instrumentation_path ):
3431 table = [header ]
3532 for instrumentation in sorted (os .listdir (base_instrumentation_path )):
3633 instrumentation_path = os .path .join (
@@ -85,4 +82,10 @@ def main():
8582
8683
8784if __name__ == "__main__" :
88- main ()
85+ root_path = os .path .dirname (os .path .dirname (os .path .abspath (__file__ )))
86+ instrumentation_path = os .path .join (root_path , "instrumentation" )
87+ main (instrumentation_path )
88+ genai_instrumentation_path = os .path .join (
89+ root_path , "instrumentation-genai"
90+ )
91+ main (genai_instrumentation_path )
You can’t perform that action at this time.
0 commit comments