Skip to content

Commit 9c7510b

Browse files
authored
Update collector image (#380)
* Update collector image version * Update clean task to delete the old output JAR
1 parent 4181e2d commit 9c7510b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

examples/otlpmetrics-function/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ tasks.named('shadowJar', ShadowJar) {
6262
destinationDirectory.set(file('out/deployment/'))
6363
}
6464

65+
clean {
66+
doLast {
67+
println "Deleting previous output..."
68+
project.delete(files('out'))
69+
}
70+
}
71+
6572
// Task only used to test the function locally
6673
tasks.register('runFunction', JavaExec) {
6774
mainClass = 'com.google.cloud.functions.invoker.runner.Invoker'

examples/otlpmetrics-function/collector-deployment/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM otel/opentelemetry-collector-contrib:0.87.0
15+
FROM otel/opentelemetry-collector-contrib:0.111.0
1616

1717
COPY collector-config.yaml /etc/otelcol-contrib/config.yaml

0 commit comments

Comments
 (0)