Skip to content

Commit dd67ba7

Browse files
committed
Put package inside the exporter package
1 parent de0b5c1 commit dd67ba7

File tree

13 files changed

+2482
-2463
lines changed

13 files changed

+2482
-2463
lines changed
File renamed without changes.
File renamed without changes.

exporter-auth-provider/gcp-auth-provider/README.rst renamed to exporter/exporter-credential-providers/gcp-credential-provider/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
OpenTelemetry GCP Auth Provider for OTLP Exporters
1+
OpenTelemetry GCP Credential Provider for OTLP Exporters
22
==============================================
33

4-
.. image:: https://badge.fury.io/py/opentelemetry-exporter-auth-provider-gcp.svg
5-
:target: https://badge.fury.io/py/opentelemetry-exporter-auth-provider-gcp
4+
.. image:: https://badge.fury.io/py/opentelemetry-exporter-credential-provider-gcp.svg
5+
:target: https://badge.fury.io/py/opentelemetry-exporter-credential-provider-gcp
66

77
.. image:: https://readthedocs.org/projects/google-cloud-opentelemetry/badge/?version=latest
88
:target: https://google-cloud-opentelemetry.readthedocs.io/en/latest/?badge=latest
@@ -27,7 +27,7 @@ Installation
2727

2828
.. code:: bash
2929
30-
pip install opentelemetry-exporter-auth-provider-gcp
30+
pip install opentelemetry-exporter-credential-provider-gcp
3131
3232
Usage
3333
-----

exporter-auth-provider/gcp-auth-provider/pyproject.toml renamed to exporter/exporter-credential-providers/gcp-credential-provider/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "opentelemetry-exporter-auth-provider-gcp"
6+
name = "opentelemetry-exporter-credential-provider-gcp"
77
dynamic = ["version"]
8-
description = "GCP OTLP Exporter Auth Provider for OpenTelemetry"
8+
description = "GCP OTLP Exporter Credential Provider for OpenTelemetry"
99
readme = "README.rst"
1010
license = "Apache-2.0"
1111
requires-python = ">=3.9"
@@ -31,15 +31,15 @@ dependencies = [
3131
]
3232

3333
[project.entry-points.opentelemetry_otlp_credential_provider]
34-
gcp_grpc_credentials = "opentelemetry.auth_provider:create_google_grpc_credentials"
35-
gcp_http_credentials = "opentelemetry.auth_provider:create_google_authorized_session"
34+
gcp_grpc_credentials = "opentelemetry.credential_provider:create_google_grpc_credentials"
35+
gcp_http_credentials = "opentelemetry.credential_provider:create_google_authorized_session"
3636

3737
[project.urls]
38-
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/exporter-auth-provider/gcp-auth-provider"
38+
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/exporter/exporter-credential-providers/gcp-credential-provider"
3939
Repository = "https://github.com/open-telemetry/opentelemetry-python-contrib"
4040

4141
[tool.hatch.version]
42-
path = "src/opentelemetry/auth_provider/version.py"
42+
path = "src/opentelemetry/credential_provider/version.py"
4343

4444
[tool.hatch.build.targets.sdist]
4545
include = [

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,16 @@ members = [
143143
"instrumentation/*",
144144
"instrumentation-genai/*",
145145
"exporter/*",
146+
"exporter/exporter-credential-providers/*",
146147
"opentelemetry-instrumentation",
147148
"propagator/*",
148149
"util/opentelemetry-util-http",
149150
]
150151

152+
exclude = [
153+
"exporter/exporter-credential-providers",
154+
]
155+
151156
[tool.ruff]
152157
# https://docs.astral.sh/ruff/configuration/
153158
target-version = "py39"

0 commit comments

Comments
 (0)