mirror of https://github.com/dapr/docs.git
update localforwarder versions (#556)
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
This commit is contained in:
parent
9504ca2bf5
commit
77ea6632e2
|
@ -33,10 +33,10 @@ This is for running the local forwarder on your machine.
|
||||||
1. Run the local fowarder
|
1. Run the local fowarder
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -e APPINSIGHTS_INSTRUMENTATIONKEY=<Your Instrumentation Key> -e APPINSIGHTS_LIVEMETRICSSTREAMAUTHENTICATIONAPIKEY=<Your API Key> -d -p 55678:55678 daprio/dapr-localforwarder:0.1-beta1
|
docker run -e APPINSIGHTS_INSTRUMENTATIONKEY=<Your Instrumentation Key> -e APPINSIGHTS_LIVEMETRICSSTREAMAUTHENTICATIONAPIKEY=<Your API Key> -d -p 55678:55678 daprio/dapr-localforwarder:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
> Note: dapr-localforwarder is created by using [0.1-beta1 release](https://github.com/microsoft/ApplicationInsights-LocalForwarder/releases/tag/v0.1-beta1). If you want to create your own image, use [this dockerfile](./localforwarder/Dockerfile).
|
> Note: [dapr-localforwarder](https://github.com/dapr/ApplicationInsights-LocalForwarder) is the forked version of [ApplicationInsights Localforwarder](https://github.com/microsoft/ApplicationInsights-LocalForwarder/), that includes the minor changes for Dapr. We're working on migrating to [opentelemetry-sdk and opentelemetry collector](https://opentelemetry.io/).
|
||||||
|
|
||||||
1. Create the following YAML files. Copy the native.yaml component file and tracing.yaml configuration file to the *components/* sub-folder under the same folder where you run your application.
|
1. Create the following YAML files. Copy the native.yaml component file and tracing.yaml configuration file to the *components/* sub-folder under the same folder where you run your application.
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
FROM mcr.microsoft.com/dotnet/core/runtime:2.1
|
|
||||||
RUN mkdir /lf
|
|
||||||
WORKDIR /lf
|
|
||||||
RUN curl -LsO https://github.com/microsoft/ApplicationInsights-LocalForwarder/releases/download/v0.1-beta1/LF-ConsoleHost-linux-x64.tar.gz
|
|
||||||
RUN tar xzf LF-ConsoleHost-linux-x64.tar.gz
|
|
||||||
RUN rm -f LF-ConsoleHost-linux-x64.tar.gz
|
|
||||||
EXPOSE 55678
|
|
||||||
ENTRYPOINT ["/lf/Microsoft.LocalForwarder.ConsoleHost", "noninteractive"]
|
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dapr-localforwarder
|
- name: dapr-localforwarder
|
||||||
image: docker.io/daprio/dapr-localforwarder:0.1-beta1
|
image: docker.io/daprio/dapr-localforwarder:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 55678
|
- containerPort: 55678
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|
Loading…
Reference in New Issue