chore: Fix kafka producer metrics names (#14936) #392
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"jobs": | |
"check": | |
"uses": "grafana/loki-release/.github/workflows/check.yml@main" | |
"with": | |
"build_image": "grafana/loki-build-image:0.34.1" | |
"golang_ci_lint_version": "v1.60.3" | |
"release_lib_ref": "main" | |
"skip_validation": false | |
"use_github_app_token": true | |
"fluent-bit": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/clients/cmd/fluent-bit/Dockerfile" | |
"platforms": "linux/amd64" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/fluent-bit-plugin-loki:${{ steps.weekly-version.outputs.version }}" | |
"fluentd": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/clients/cmd/fluentd/Dockerfile" | |
"platforms": "linux/amd64" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/fluent-plugin-loki:${{ steps.weekly-version.outputs.version }}" | |
"logcli": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/cmd/logcli/Dockerfile" | |
"platforms": "linux/amd64,linux/arm64,linux/arm" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/logcli:${{ steps.weekly-version.outputs.version }}" | |
"logstash": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/clients/cmd/logstash/Dockerfile" | |
"platforms": "linux/amd64" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/logstash-output-loki:${{ steps.weekly-version.outputs.version }}" | |
"loki": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/cmd/loki/Dockerfile" | |
"platforms": "linux/amd64,linux/arm64,linux/arm" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/loki:${{ steps.weekly-version.outputs.version }}" | |
"loki-canary": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/cmd/loki-canary/Dockerfile" | |
"platforms": "linux/amd64,linux/arm64,linux/arm" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/loki-canary:${{ steps.weekly-version.outputs.version }}" | |
"loki-canary-boringcrypto": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/cmd/loki-canary-boringcrypto/Dockerfile" | |
"platforms": "linux/amd64,linux/arm64,linux/arm" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/loki-canary-boringcrypto:${{ steps.weekly-version.outputs.version }}" | |
"promtail": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/clients/cmd/promtail/Dockerfile" | |
"platforms": "linux/amd64,linux/arm64,linux/arm" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/promtail:${{ steps.weekly-version.outputs.version }}" | |
"querytee": | |
"env": | |
"BUILD_TIMEOUT": 60 | |
"IMAGE_PREFIX": "grafana" | |
"RELEASE_LIB_REF": "main" | |
"RELEASE_REPO": "grafana/loki" | |
"needs": | |
- "check" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "pull release library code" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "lib" | |
"ref": "${{ env.RELEASE_LIB_REF }}" | |
"repository": "grafana/loki-release" | |
- "name": "pull code to release" | |
"uses": "actions/checkout@v4" | |
"with": | |
"path": "release" | |
"repository": "${{ env.RELEASE_REPO }}" | |
- "name": "setup node" | |
"uses": "actions/setup-node@v4" | |
"with": | |
"node-version": 20 | |
- "name": "Set up QEMU" | |
"uses": "docker/setup-qemu-action@v3" | |
- "name": "set up docker buildx" | |
"uses": "docker/setup-buildx-action@v3" | |
- "name": "Login to DockerHub (from vault)" | |
"uses": "grafana/shared-workflows/actions/dockerhub-login@main" | |
- "id": "weekly-version" | |
"name": "Get weekly version" | |
"run": | | |
echo "version=$(./tools/image-tag)" >> $GITHUB_OUTPUT | |
"working-directory": "release" | |
- "name": "Build and push" | |
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}" | |
"uses": "docker/build-push-action@v6" | |
"with": | |
"build-args": "IMAGE_TAG=${{ steps.weekly-version.outputs.version }}" | |
"context": "release" | |
"file": "release/cmd/querytee/Dockerfile" | |
"platforms": "linux/amd64" | |
"push": true | |
"tags": "${{ env.IMAGE_PREFIX }}/loki-query-tee:${{ steps.weekly-version.outputs.version }}" | |
"name": "publish images" | |
"on": | |
"push": | |
"branches": | |
- "k[0-9]+*" | |
- "main" | |
"permissions": | |
"contents": "write" | |
"id-token": "write" | |
"pull-requests": "write" |