Skip to content

Commit

Permalink
chore: update diode target (#19)
Browse files Browse the repository at this point in the history
Update diode target references into default diode's ingress provided via docker compose

Signed-off-by: Michal Fiedorowicz <[email protected]>
  • Loading branch information
mfiedorowicz authored Oct 16, 2024
1 parent fc8b0f9 commit cdc460b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pip install netboxlabs-diode-sdk

### Example

* `target` should be the address of the Diode service, e.g. `grpc://localhost:8081` for insecure connection
* `target` should be the address of the Diode service, e.g. `grpc://localhost:8080/diode` for insecure connection
or `grpcs://example.com` for secure connection.

```python
Expand All @@ -39,7 +39,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down
30 changes: 15 additions & 15 deletions docs/entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -141,7 +141,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -241,7 +241,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -324,7 +324,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -399,7 +399,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -452,7 +452,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -506,7 +506,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -574,7 +574,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -679,7 +679,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -770,7 +770,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -820,7 +820,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -875,7 +875,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -987,7 +987,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -1137,7 +1137,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down Expand Up @@ -1289,7 +1289,7 @@ from netboxlabs.diode.sdk.ingester import (

def main():
with DiodeClient(
target="grpc://localhost:8081",
target="grpc://localhost:8080/diode",
app_name="my-test-app",
app_version="0.0.1",
) as client:
Expand Down

0 comments on commit cdc460b

Please sign in to comment.