Skip to content

Commit

Permalink
Merge pull request #714 from logzio/fixing-notes-dec4
Browse files Browse the repository at this point in the history
fixing note
  • Loading branch information
Simplychee authored Dec 5, 2024
2 parents fec7e07 + 3227a96 commit a7dee24
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/shipping/Code/node-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ If you need an example aplication to test this integration, please refer to our
Update the `listener.logz.io` part in `https://otlp-listener.logz.io/v1/logs` with the URL for [your hosting region](https://docs.logz.io/docs/user-guide/admin/hosting-regions/account-region).


:::note
If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<<REGION-CODE>>.logz.io/v1/logs`.
:::
:::note
If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<<REGION-CODE>>.logz.io/v1/logs`.
:::

3. Run the application.

Expand Down Expand Up @@ -477,9 +477,9 @@ This integration uses the OpenTelemetry logging exporter to send logs to Logz.io
Update the `listener.logz.io` part in `https://otlp-listener.logz.io/v1/logs` with the URL for [your hosting region](https://docs.logz.io/docs/user-guide/admin/hosting-regions/account-region).


:::note
If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<<REGION-CODE>>.logz.io/v1/logs`.
:::
:::note
If your Logz.io account region is not `us-east-1`, add your [region code](https://docs.logz.io/docs/user-guide/admin/hosting-regions/ account-region/#available-regions) to the `url` like so `https://otlp-listener-<<REGION-CODE>>.logz.io/v1/logs`.
:::

3. Once you have configured the logger, import it into your application (e.g., `server.ts`) and start logging.

Expand Down

0 comments on commit a7dee24

Please sign in to comment.