Repository: lightstep/otel-launcher-python

Issue:
Update the documentation
The current documentation needs to be updated.

Discussion:

Patch:
diff --git a/README.md b/README.md
index 318f93d..f2cea09 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ configure_opentelemetry(
     service_name="service-123",
     service_version="1.2.3",
     access_token="my-token",
-    span_exporter_endpoint="ingest.lightstep.com:443",
+    span_exporter_endpoint="https://ingest.lightstep.com:443",
     log_level=debug,
     span_exporter_insecure=False,
 )
@@ -72,15 +72,15 @@ Once that is done, clone the `opentelemetry-python` repo to get the example code
 
 ```bash
 git clone git@github.com:open-telemetry/opentelemetry-python.git
-git checkout v1.0.0rc1
 cd opentelemetry-python
+git checkout v1.1.0
 ```
 
 Set the environment variables:
 
 ```bash
 export LS_SERVICE_NAME=auto-instrumentation-testing
-export LS_ACCESS_TOKEN=<the access token>
+export LS_ACCESS_TOKEN=<my-token>
 ```
 
 Run the server:
@@ -106,7 +106,7 @@ This should produce spans that can be captured in the Lightstep Explorer.
 |service_name|LS_SERVICE_NAME|y|-|
 |service_version|LS_SERVICE_VERSION|n|`None`|
 |access_token|LS_ACCESS_TOKEN|n|`None`|
-|span_exporter_endpoint|OTEL_EXPORTER_OTLP_TRACES_ENDPOINT|n|`ingest.lightstep.com:443`|
+|span_exporter_endpoint|OTEL_EXPORTER_OTLP_TRACES_ENDPOINT|n|`https://ingest.lightstep.com:443`|
 |span_exporter_insecure|OTEL_EXPORTER_OTLP_TRACES_INSECURE|n|`False`|
 |propagators|OTEL_PROPAGATORS|n|`b3`|
 |resource_attributes|OTEL_RESOURCE_ATTRIBUTES|n|`telemetry.sdk.language=python,telemetry.sdk.version=0.12b0`|
diff --git a/src/opentelemetry/launcher/configuration.py b/src/opentelemetry/launcher/configuration.py
index ea04bf3..f5c87ed 100644
--- a/src/opentelemetry/launcher/configuration.py
+++ b/src/opentelemetry/launcher/configuration.py
@@ -49,7 +49,9 @@ from opentelemetry.trace.propagation.tracecontext import (
 _env = Env()
 _logger = getLogger(__name__)
 
-_DEFAULT_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = "ingest.lightstep.com:443"
+_DEFAULT_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = (
+    "https://ingest.lightstep.com:443"
+)
 
 _LS_ACCESS_TOKEN = _env.str("LS_ACCESS_TOKEN", None)
 _OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = _env.str(


Test patch:
diff --git a/tests/test_configuration.py b/tests/test_configuration.py
index 952d4b8..5c79640 100644
--- a/tests/test_configuration.py
+++ b/tests/test_configuration.py
@@ -104,7 +104,7 @@ class TestConfiguration(TestCase):
         )
 
         mock_otlp_span_exporter.assert_called_with(
-            endpoint="ingest.lightstep.com:443",
+            endpoint="https://ingest.lightstep.com:443",
             credentials=ANY,
             headers=(("lightstep-access-token", "a" * 104),),
         )
@@ -336,7 +336,7 @@ class TestConfiguration(TestCase):
 
             self.assertEqual(
                 configuration._OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,
-                "ingest.lightstep.com:443",
+                "https://ingest.lightstep.com:443",
             )
 
             with patch.dict(