Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live debugging front-end #892

Closed
wants to merge 69 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
bcb1d29
Set OTel metrics telemetry level to "detailed". (#791)
ptodev May 8, 2024
e703168
Dockerfile: make it clear that non-root support is experimental (#774)
rfratto May 8, 2024
6506759
Upgrade Go to 1.22.3 (#788)
kminehart May 8, 2024
573cce5
Update build image and update changelog (#799)
kminehart May 8, 2024
5d777a5
Add support for docker containers restart in loki.source.docker (#742)
wildum May 8, 2024
12e52a8
fix changelog (#806)
wildum May 8, 2024
9348743
feat(helm): Refactoring Kubernetes recommended labels (#777)
nlamirault May 8, 2024
ead12a0
Enable linux boringcrypto builds (#796)
mattdurham May 9, 2024
006339c
add otelcol.receiver.file_stats component (#812)
rfratto May 9, 2024
de51414
ci: fix permissions for Helm chart release (#813)
rfratto May 9, 2024
f578466
ci: use app token for pushing helm-chart tags (#816)
rfratto May 9, 2024
9f6bc3a
ci: use same app token for checking out Alloy (#817)
rfratto May 9, 2024
12fb273
Fix staleness during target handover (#703)
thampiotr May 13, 2024
6a195d6
Update remotecfg dep to use `alloy-remote-config` over `agent-remote-…
erikbaranowski May 13, 2024
4ca3f84
No error when http fails (#841)
mattdurham May 14, 2024
dd1ccf6
Update Loki and sync some of the Promtail code (#836)
ptodev May 14, 2024
f377891
Update SNMP exporter (#762)
ptodev May 14, 2024
e9d13a0
Expose feature gate stability level to components (#842)
wildum May 14, 2024
d8831a5
docs(prometheus/scrape): add example for K8s auth (#829)
hainenber May 14, 2024
3ad652a
Add info about order of arguments when customising the Windows config…
clayton-cornell May 14, 2024
d252877
Add prometheus native histogram support to otel.receiver.prometheus (…
wildum May 14, 2024
f780ecc
prepare for 1.1 release (#850)
rfratto May 14, 2024
430658c
helm: use Grafana Alloy v1.1.0 (#852)
rfratto May 14, 2024
7bae89c
Fix panic when component ID contains `/` in `otelcomponent.MustNewTyp…
qclaogui May 15, 2024
b856035
Add missing http client-related blocks (#853)
spartan0x117 May 15, 2024
b418c3c
build(deps): bump aquasecurity/trivy-action from 0.19.0 to 0.20.0 (#834)
dependabot[bot] May 15, 2024
dbf86c2
ci: use app token for Homebrew releases (#862)
rfratto May 15, 2024
4b1eb1b
refactor(internal): rename non-intuitive `internal/alloy` to more com…
hainenber May 15, 2024
7f540a2
Update `make docs` procedure (#873)
github-actions[bot] May 16, 2024
4fb1df9
fix panic loki source docker (#875)
wildum May 16, 2024
1cdd942
Allow to override the cluster headless service port name for Istio su…
josh-thisisbud May 16, 2024
ada0921
move back to upstream for stackdriver exporter (#860)
wildum May 21, 2024
be34410
Upgrade prometheus (#794)
thampiotr May 21, 2024
33e813e
Add alias for common URL mistake (#710)
clayton-cornell May 21, 2024
8afa972
reorganize configuration syntax intro (#849)
moxious May 21, 2024
86e17a7
fix for panic in prometheus.exporter.snmp from the recent version upg…
erikbaranowski May 21, 2024
642ab21
remotecfg: add some basic metrics (#894)
captncraig May 21, 2024
33c8428
fix changelog since the bug never released (#902)
erikbaranowski May 21, 2024
e3ef9d3
fix typo with snmp exporter fix (#903)
erikbaranowski May 21, 2024
583ad76
feat(pyroscope.scrape): add support for configuring CPU profile's dur…
hainenber May 22, 2024
c3c761b
helm: release 0.3.1 (#905)
rfratto May 22, 2024
abe384e
docs: clarify DNS lookup in clustering documentation (#910)
rfratto May 22, 2024
db2036b
chore(pyroscope): mark pyroscope components as GA (#904)
korniltsev May 23, 2024
3df2cd0
clustering: fix ipv6 advertise addresses (#869)
matthewpi May 23, 2024
d018e6e
otelcol: decouple otel/alloy component IDs (#882)
tpaschalis May 23, 2024
bb508af
Downgrade error log lines on Windows filesystem access issues (#907)
thampiotr May 23, 2024
ae92ce1
Update index.md (#918)
ahuret May 23, 2024
a30cc8a
Alloy-Mixin: allow k8s cluster and alloy cluster disable, add logs da…
gaantunes May 24, 2024
3631969
Add yaml_decode to stdlib (#927)
mattdurham May 25, 2024
61f34e9
Update to remove re to components no longer in preview (#931)
clayton-cornell May 27, 2024
6ef896d
Removed ref to components, added Alloy install prereq (#930)
clayton-cornell May 27, 2024
7902416
feat(otelcol): allow overriding debug metric level for all `otelcol` …
hainenber May 28, 2024
eb81e62
Updates OTEL version to v0.101.0. (#906)
StefanKurek May 28, 2024
8c46be3
example: install jb dependencies before provisioning (#941)
rfratto May 28, 2024
c887aee
Added support for NS records to discovery.dns (#942)
ptodev May 28, 2024
f398351
Update Faro receiver docs (#624)
igorestevanjasinski May 28, 2024
551d407
updates with latest snowflake prometheus exporter (fixes null issues)…
StefanKurek May 29, 2024
71c904c
Update `make docs` procedure (#950)
github-actions[bot] May 29, 2024
037893f
feat(vcs): bubble up SSH key conversion error for better debugging ex…
hainenber May 29, 2024
3bceb1a
prepare changelog for 1.1.1 (#958)
rfratto May 30, 2024
a89fa6c
Fix broken unit test (#962)
ptodev May 30, 2024
745f4c3
update Helm chart to Grafana Alloy v1.1.1 (#966)
rfratto May 30, 2024
fb3b34c
remotecfg: set lower poll_frequency limit (#937)
tpaschalis May 31, 2024
97ed592
Bump node version to 18 in build image (#940)
wildum May 31, 2024
c29b16b
bump build image to v0.1.2 to support nodeJS 18 (#975)
wildum Jun 3, 2024
ab08e82
Merge branch 'main' into xray
wildum Jun 3, 2024
aa8ba4d
add live debugging page in UI
wildum May 21, 2024
9046aba
change button size
wildum May 28, 2024
2bf962e
move icon in front of text in buttons
wildum May 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
161 changes: 63 additions & 98 deletions .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --name multiarch --driver docker-container --use
- docker buildx build --build-arg="GO_RUNTIME=golang:1.22.1-bullseye" --push --platform
- docker buildx build --build-arg="GO_RUNTIME=golang:1.22.3-bullseye" --push --platform
linux/amd64,linux/arm64 -t grafana/alloy-build-image:$IMAGE_TAG ./tools/build-image
environment:
DOCKER_LOGIN:
Expand Down Expand Up @@ -44,7 +44,7 @@ steps:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --name multiarch --driver docker-container --use
- docker buildx build --build-arg="GO_RUNTIME=mcr.microsoft.com/oss/go/microsoft/golang:1.22.1-bullseye"
- docker buildx build --build-arg="GO_RUNTIME=mcr.microsoft.com/oss/go/microsoft/golang:1.22.3-bullseye"
--push --platform linux/amd64,linux/arm64 -t grafana/alloy-build-image:$IMAGE_TAG
./tools/build-image
environment:
Expand Down Expand Up @@ -110,7 +110,7 @@ steps:
- commands:
- apt-get update -y && apt-get install -y libsystemd-dev
- make lint
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Lint
trigger:
event:
Expand All @@ -125,7 +125,7 @@ platform:
steps:
- commands:
- make GO_TAGS="nodocker" test
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Run Go tests
trigger:
event:
Expand All @@ -140,7 +140,7 @@ platform:
steps:
- commands:
- K8S_USE_DOCKER_NETWORK=1 make test
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Run Go tests
volumes:
- name: docker
Expand All @@ -163,7 +163,7 @@ platform:
steps:
- commands:
- go test -tags="nodocker,nonetwork" ./...
image: grafana/alloy-build-image:v0.1.0-windows
image: grafana/alloy-build-image:v0.1.2-windows
name: Run Go tests
trigger:
ref:
Expand All @@ -178,7 +178,7 @@ platform:
steps:
- commands:
- make alloy-image
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build container
volumes:
- name: docker
Expand All @@ -204,7 +204,7 @@ platform:
steps:
- commands:
- '& "C:/Program Files/git/bin/bash.exe" -c "make alloy-image-windows"'
image: grafana/alloy-build-image:v0.1.0-windows
image: grafana/alloy-build-image:v0.1.2-windows
name: Build container
volumes:
- name: docker
Expand All @@ -231,7 +231,7 @@ steps:
- make generate-ui
- GO_TAGS="builtinassets promtail_journal_enabled" GOOS=linux GOARCH=amd64 GOARM=
make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
Expand All @@ -248,7 +248,7 @@ steps:
- make generate-ui
- GO_TAGS="builtinassets promtail_journal_enabled" GOOS=linux GOARCH=arm64 GOARM=
make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
Expand All @@ -265,7 +265,7 @@ steps:
- make generate-ui
- GO_TAGS="builtinassets promtail_journal_enabled" GOOS=linux GOARCH=ppc64le GOARM=
make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
Expand All @@ -282,7 +282,7 @@ steps:
- make generate-ui
- GO_TAGS="builtinassets promtail_journal_enabled" GOOS=linux GOARCH=s390x GOARM=
make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
Expand All @@ -298,7 +298,7 @@ steps:
- commands:
- make generate-ui
- GO_TAGS="builtinassets" GOOS=darwin GOARCH=amd64 GOARM= make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
Expand All @@ -314,7 +314,7 @@ steps:
- commands:
- make generate-ui
- GO_TAGS="builtinassets" GOOS=darwin GOARCH=arm64 GOARM= make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
Expand All @@ -330,7 +330,7 @@ steps:
- commands:
- make generate-ui
- GO_TAGS="builtinassets" GOOS=windows GOARCH=amd64 GOARM= make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
Expand All @@ -346,7 +346,41 @@ steps:
- commands:
- make generate-ui
- GO_TAGS="builtinassets" GOOS=freebsd GOARCH=amd64 GOARM= make alloy
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Build
trigger:
event:
- pull_request
type: docker
---
kind: pipeline
name: Build alloy (Linux amd64 boringcrypto)
platform:
arch: amd64
os: linux
steps:
- commands:
- make generate-ui
- GO_TAGS="builtinassets promtail_journal_enabled" GOOS=linux GOARCH=amd64 GOARM=
GOEXPERIMENT=boringcrypto make alloy
image: grafana/alloy-build-image:v0.1.2-boringcrypto
name: Build
trigger:
event:
- pull_request
type: docker
---
kind: pipeline
name: Build alloy (Linux arm64 boringcrypto)
platform:
arch: amd64
os: linux
steps:
- commands:
- make generate-ui
- GO_TAGS="builtinassets promtail_journal_enabled" GOOS=linux GOARCH=arm64 GOARM=
GOEXPERIMENT=boringcrypto make alloy
image: grafana/alloy-build-image:v0.1.2-boringcrypto
name: Build
trigger:
event:
Expand All @@ -362,7 +396,7 @@ steps:
- commands:
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
failure: ignore
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Configure QEMU
volumes:
- name: docker
Expand All @@ -382,7 +416,7 @@ steps:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Publish container
volumes:
- name: docker
Expand All @@ -405,7 +439,7 @@ steps:
- commands:
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
failure: ignore
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Configure QEMU
volumes:
- name: docker
Expand All @@ -425,7 +459,7 @@ steps:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Publish container
volumes:
- name: docker
Expand Down Expand Up @@ -459,41 +493,7 @@ steps:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0-windows
name: Build containers
volumes:
- name: docker
path: //./pipe/docker_engine/
trigger:
ref:
- refs/heads/main
type: docker
volumes:
- host:
path: //./pipe/docker_engine/
name: docker
---
kind: pipeline
name: Publish Windows alloy-devel-cngcrypto container
platform:
arch: amd64
os: windows
version: "1809"
steps:
- commands:
- '& "C:/Program Files/git/bin/bash.exe" -c ''mkdir -p $HOME/.docker'''
- '& "C:/Program Files/git/bin/bash.exe" -c ''printenv GCR_CREDS > $HOME/.docker/config.json'''
- '& "C:/Program Files/git/bin/bash.exe" -c ''docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD'''
- '& "C:/Program Files/git/bin/bash.exe" -c ''./tools/ci/docker-containers-windows
alloy-devel-cngcrypto'''
environment:
DOCKER_LOGIN:
from_secret: docker_login
DOCKER_PASSWORD:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0-windows
image: grafana/alloy-build-image:v0.1.2-windows
name: Build containers
volumes:
- name: docker
Expand All @@ -516,7 +516,7 @@ steps:
- commands:
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
failure: ignore
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Configure QEMU
volumes:
- name: docker
Expand All @@ -536,7 +536,7 @@ steps:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Publish container
volumes:
- name: docker
Expand All @@ -559,7 +559,7 @@ steps:
- commands:
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
failure: ignore
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Configure QEMU
volumes:
- name: docker
Expand All @@ -579,7 +579,7 @@ steps:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Publish container
volumes:
- name: docker
Expand Down Expand Up @@ -613,41 +613,7 @@ steps:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0-windows
name: Build containers
volumes:
- name: docker
path: //./pipe/docker_engine/
trigger:
ref:
- refs/tags/v*
type: docker
volumes:
- host:
path: //./pipe/docker_engine/
name: docker
---
kind: pipeline
name: Publish Windows alloy-cngcrypto container
platform:
arch: amd64
os: windows
version: "1809"
steps:
- commands:
- '& "C:/Program Files/git/bin/bash.exe" -c ''mkdir -p $HOME/.docker'''
- '& "C:/Program Files/git/bin/bash.exe" -c ''printenv GCR_CREDS > $HOME/.docker/config.json'''
- '& "C:/Program Files/git/bin/bash.exe" -c ''docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD'''
- '& "C:/Program Files/git/bin/bash.exe" -c ''./tools/ci/docker-containers-windows
alloy-cngcrypto'''
environment:
DOCKER_LOGIN:
from_secret: docker_login
DOCKER_PASSWORD:
from_secret: docker_password
GCR_CREDS:
from_secret: gcr_admin
image: grafana/alloy-build-image:v0.1.0-windows
image: grafana/alloy-build-image:v0.1.2-windows
name: Build containers
volumes:
- name: docker
Expand Down Expand Up @@ -712,7 +678,6 @@ depends_on:
- Publish Linux alloy container
- Publish Linux alloy-boringcrypto container
- Publish Windows alloy container
- Publish Windows alloy-cngcrypto container
image_pull_secrets:
- dockerconfigjson
kind: pipeline
Expand Down Expand Up @@ -749,7 +714,7 @@ steps:
from_secret: gpg_private_key
GPG_PUBLIC_KEY:
from_secret: gpg_public_key
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Publish release
volumes:
- name: docker
Expand All @@ -772,7 +737,7 @@ steps:
- commands:
- DOCKER_OPTS="" make dist/alloy-linux-amd64
- DOCKER_OPTS="" make test-packages
image: grafana/alloy-build-image:v0.1.0
image: grafana/alloy-build-image:v0.1.2
name: Test Linux system packages
volumes:
- name: docker
Expand Down Expand Up @@ -870,6 +835,6 @@ kind: secret
name: updater_private_key
---
kind: signature
hmac: 8470d1cd1b7ab512b3adff1fc61af6576e427d81225f7b83ae228a3dad326aa9
hmac: 60dbc7f93c24089a985433ec810276f8bbf84f6b93a173e27b2d278388329511

...
4 changes: 2 additions & 2 deletions .drone/pipelines/build_images.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ local locals = {
'docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD',
'docker run --rm --privileged multiarch/qemu-user-static --reset -p yes',
'docker buildx create --name multiarch --driver docker-container --use',
'docker buildx build --build-arg="GO_RUNTIME=golang:1.22.1-bullseye" --push --platform linux/amd64,linux/arm64 -t grafana/alloy-build-image:$IMAGE_TAG ./tools/build-image',
'docker buildx build --build-arg="GO_RUNTIME=golang:1.22.3-bullseye" --push --platform linux/amd64,linux/arm64 -t grafana/alloy-build-image:$IMAGE_TAG ./tools/build-image',
],
}],
volumes: [{
Expand All @@ -55,7 +55,7 @@ local locals = {
'docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD',
'docker run --rm --privileged multiarch/qemu-user-static --reset -p yes',
'docker buildx create --name multiarch --driver docker-container --use',
'docker buildx build --build-arg="GO_RUNTIME=mcr.microsoft.com/oss/go/microsoft/golang:1.22.1-bullseye" --push --platform linux/amd64,linux/arm64 -t grafana/alloy-build-image:$IMAGE_TAG ./tools/build-image',
'docker buildx build --build-arg="GO_RUNTIME=mcr.microsoft.com/oss/go/microsoft/golang:1.22.3-bullseye" --push --platform linux/amd64,linux/arm64 -t grafana/alloy-build-image:$IMAGE_TAG ./tools/build-image',
],
}],
volumes: [{
Expand Down
Loading
Loading