Re: [grpc-io] [gRPC-Python] grpcio-observability compatibiltiy with OTEL SDK 1.22.0+

2024-04-25 Thread Kyle Strand
Excellent, thank you!

--

Kyle J Strand

Senior Software Engineer

(Pronouns: he/him)

kstr...@rigetti.com

rigetti.com


Confidentiality Note: This message is for the intended recipient only and
may contain proprietary, privileged, or confidential information. The use,
copying or distribution of the contents of this email, or any attachments
hereto, by anyone other than the intended recipient, or an employee or
agent authorized by the intended recipient, is prohibited.


On Wed, Apr 24, 2024 at 4:24 PM Xuan Wang  wrote:

> Hi Kyle,
>
> We actually do support versions higher than 1.21.0, we'll remove the
> version ping in the next release.
>
> As for api vs sdk, we do need sdk to create MeterProvider in the example
> .
>  But
> the observability package itself doesn't have a dependency on sdk as listed
> in setup.py
> 
> (We'll also remove the version ping here).
>
>
> Thanks,
> Xuan
>
> On Wed, Apr 24, 2024 at 2:36 PM Kyle Strand  wrote:
>
>> The `grpcio-observability` requirements file (links below) specifies
>> `opentelemetry-sdk == 1.21.0`. Is there a reason why this is pinned to a
>> specific version, rather than using `^` or `>=`? The current OTEL PyPI
>> release is 1.24.0. Additionally, is the OTEL SDK actually required, or
>> could it use the API only, as `opentelemetry-api >= 1.21.0`?
>>
>> If the version-pinning is necessary, can a version be released that
>> supports OTEL SDK 1.22.0 or above?
>>
>> Thanks!
>>
>> Kyle Strand
>>
>> Links:
>>
>> `grpcio-observability` requirements file:
>> https://github.com/grpc/grpc/blob/master/examples/python/observability/requirements.txt
>>
>> OTEL SDK package in PyPI: https://pypi.org/project/opentelemetry-sdk/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to grpc-io+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/grpc-io/67751b5a-c916-4290-a3e5-3386c0c5c2c6n%40googlegroups.com
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2BpRqg5YnLHxeqxzJ5o3%3DqjMaOe785LX26XfkrcnosSaiSvqSg%40mail.gmail.com.


Re: [grpc-io] [gRPC-Python] grpcio-observability compatibiltiy with OTEL SDK 1.22.0+

2024-04-25 Thread 'Xuan Wang' via grpc.io
Hi Kyle,

We actually do support versions higher than 1.21.0, we'll remove the
version ping in the next release.

As for api vs sdk, we do need sdk to create MeterProvider in the example
.
But
the observability package itself doesn't have a dependency on sdk as listed
in setup.py

(We'll also remove the version ping here).


Thanks,
Xuan

On Wed, Apr 24, 2024 at 2:36 PM Kyle Strand  wrote:

> The `grpcio-observability` requirements file (links below) specifies
> `opentelemetry-sdk == 1.21.0`. Is there a reason why this is pinned to a
> specific version, rather than using `^` or `>=`? The current OTEL PyPI
> release is 1.24.0. Additionally, is the OTEL SDK actually required, or
> could it use the API only, as `opentelemetry-api >= 1.21.0`?
>
> If the version-pinning is necessary, can a version be released that
> supports OTEL SDK 1.22.0 or above?
>
> Thanks!
>
> Kyle Strand
>
> Links:
>
> `grpcio-observability` requirements file:
> https://github.com/grpc/grpc/blob/master/examples/python/observability/requirements.txt
>
> OTEL SDK package in PyPI: https://pypi.org/project/opentelemetry-sdk/
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/67751b5a-c916-4290-a3e5-3386c0c5c2c6n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CABhWa51icnwHsJ%2BOTjKRVsikrTGFr4av4J3dKGPn%3DjGF%3D0UZpQ%40mail.gmail.com.


[grpc-io] [gRPC-Python] grpcio-observability compatibiltiy with OTEL SDK 1.22.0+

2024-04-24 Thread Kyle Strand
The `grpcio-observability` requirements file (links below) specifies 
`opentelemetry-sdk == 1.21.0`. Is there a reason why this is pinned to a 
specific version, rather than using `^` or `>=`? The current OTEL PyPI 
release is 1.24.0. Additionally, is the OTEL SDK actually required, or 
could it use the API only, as `opentelemetry-api >= 1.21.0`?

If the version-pinning is necessary, can a version be released that 
supports OTEL SDK 1.22.0 or above?

Thanks!

Kyle Strand

Links:

`grpcio-observability` requirements file: 
https://github.com/grpc/grpc/blob/master/examples/python/observability/requirements.txt

OTEL SDK package in PyPI: https://pypi.org/project/opentelemetry-sdk/

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/67751b5a-c916-4290-a3e5-3386c0c5c2c6n%40googlegroups.com.