-
Notifications
You must be signed in to change notification settings - Fork 480
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
Merge main into dev.frontend-receiver #1362
Merge main into dev.frontend-receiver #1362
Commits on Jan 11, 2022
-
Operator: fix bug where /-/ready and /-/healthy always returned 404 (g…
…rafana#1252) * operator: fix bug where /-/ready and /-/healthy always returned 404 controller-runtime must have at least one ready/healthy check for the endpoints to exist * fix lint error, use healthz.Ping
Configuration menu - View commit details
-
Copy full SHA for 41cf32c - Browse repository at this point
Copy the full SHA 41cf32cView commit details
Commits on Jan 12, 2022
-
Make scraping-svc use the new
metrics:
key (grafana#1259)Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for d151094 - Browse repository at this point
Copy the full SHA d151094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dbe3a3 - Browse repository at this point
Copy the full SHA 2dbe3a3View commit details
Commits on Jan 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf17aee - Browse repository at this point
Copy the full SHA bf17aeeView commit details -
Use RELEASE_TAG to choose between
:main
and:latest
docker tags (g……rafana#1264) * Use RELEASE_TAG to choose between `:main` and `:latest` docker tags Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Use :main tag for images in smoke test Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Set IMAGE_BRANCH_TAG env var in drone and actions pipelines Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Remove quotes from Makefile variable Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Remove force_release action Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for d2031d3 - Browse repository at this point
Copy the full SHA d2031d3View commit details -
prepare for v0.22.0 release (grafana#1266)
* prepare for v0.22.0 release * remove E2E pipeline
Configuration menu - View commit details
-
Copy full SHA for 6240e64 - Browse repository at this point
Copy the full SHA 6240e64View commit details
Commits on Jan 14, 2022
-
Add basic testing framework for operator (grafana#1268)
* remove dedicated go.mod for e2e/ * move e2e/k8s to pkg/util/k8s * Migrate operator tests to pkg/util/k8s * remove dedicated e2e tests * allow skipping TestCluster in pkg/util/k8s * remove e2e/ * fix bad merge * fix order of make env args for windows * actually declare referenced docker volume * introduce pkg/util/subset for asserting subset of objects * refactor operator so it's testable * define basic integration test for operator * fix lint errors * fix invalid address in operator test config
Configuration menu - View commit details
-
Copy full SHA for bb4174c - Browse repository at this point
Copy the full SHA bb4174cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1df94f - Browse repository at this point
Copy the full SHA e1df94fView commit details -
Set scrape User-Agent header during init (grafana#1274)
Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for e319f18 - Browse repository at this point
Copy the full SHA e319f18View commit details
Commits on Jan 18, 2022
-
Upgrade to Go 1.17 (grafana#1278)
* Upgrade to 1.17.6 in go.mod and Dockerfiles * Update CHANGELOG.md to mention the update * Update Go version in drone/actions pipelines * Update go.mod, go.sum files via * Re-sign drone.yml * Remove leading newline causing drone build to fail * Bump golangci-lint image to a version using Go 1.17 * Re-attempt to solve linter issue with new golangci-lint image * Remove suffix of exclude rules * Clean previous Go version before unpacking Go 1.17 * Also clean up previous Go versions in other steps
Configuration menu - View commit details
-
Copy full SHA for 8bebf94 - Browse repository at this point
Copy the full SHA 8bebf94View commit details -
Configuration menu - View commit details
-
Copy full SHA for d74f94a - Browse repository at this point
Copy the full SHA d74f94aView commit details
Commits on Jan 19, 2022
-
Use custom Go version in agent-operator Dockerfile (grafana#1286)
Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for ec42e23 - Browse repository at this point
Copy the full SHA ec42e23View commit details -
pkg/operator: refactor resource hierarchy discovery (grafana#1271)
* pkg/operator: refactor resource hierarchy discovery This commit moves common logic related to discovering the resource hierarchy to pkg/operator/hierarchy. This new package requires less boilerplate, which the reconciler is updated to take advantage of. * remove unused code * test construction of resource hierarchy * add missing build constraints * small extra cleanup to use pointer package * review feedback
Configuration menu - View commit details
-
Copy full SHA for 8fc3423 - Browse repository at this point
Copy the full SHA 8fc3423View commit details -
update agent-build-image for go 1.17 (grafana#1287)
(also use a consistent base image tag instead of latest)
Configuration menu - View commit details
-
Copy full SHA for b890ef9 - Browse repository at this point
Copy the full SHA b890ef9View commit details
Commits on Jan 21, 2022
-
Skip non-ready entries when listing instances (grafana#1289)
* Skip non-ready instances in LoadInstances() Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Add changelog entry Co-authored-by: Robert Fratto <robertfratto@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9beca9e - Browse repository at this point
Copy the full SHA 9beca9eView commit details
Commits on Jan 24, 2022
-
Fix panic in prom_sd_processor when address is empty (grafana#1279)
* Fix panic in prom_sd_processor when address is empty * Fix panic in prom_sd_processor when address is empty * Fix docs * Add test case * Lint * Move to unreleased
Configuration menu - View commit details
-
Copy full SHA for 0759ad3 - Browse repository at this point
Copy the full SHA 0759ad3View commit details -
Operator: generate proxy_url for remote_write (grafana#1298)
* operator: generate proxy_url for remote_write * fix weird indentation in test
Configuration menu - View commit details
-
Copy full SHA for 59ffd8b - Browse repository at this point
Copy the full SHA 59ffd8bView commit details
Commits on Jan 25, 2022
-
Use log format in traces subsystem (grafana#1272)
* Use log format in traces subsystem * Changelog * Undo unwanted change * Fix changelog entry
Configuration menu - View commit details
-
Copy full SHA for b2c1fda - Browse repository at this point
Copy the full SHA b2c1fdaView commit details -
integrations-next: Add extra_labels to inject extra labels for an int…
…egration (grafana#1312) * integrations-next: Add extra_labels to inject extra labels for an integration. * separate tests
Configuration menu - View commit details
-
Copy full SHA for 459b277 - Browse repository at this point
Copy the full SHA 459b277View commit details
Commits on Jan 26, 2022
-
Fix anchor link on operator docs (grafana#1302)
Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for 7b1ac6f - Browse repository at this point
Copy the full SHA 7b1ac6fView commit details -
updated config URL (grafana#1304)
The existing URL returns a 404: https://grafana.com/docs/agent/latest/getting-started/configuration/_index.md Updated to https://grafana.com/docs/agent/latest/configuration/
Configuration menu - View commit details
-
Copy full SHA for 25b8896 - Browse repository at this point
Copy the full SHA 25b8896View commit details
Commits on Jan 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 78b3a5a - Browse repository at this point
Copy the full SHA 78b3a5aView commit details
Commits on Jan 28, 2022
-
Allow remote_write URL credentials (grafana#1329)
* Bypass Prometheus password redaction Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Add inline secret in existing test Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Add changelog entry * Add to scrubbed testcase as well Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for c7c309d - Browse repository at this point
Copy the full SHA c7c309dView commit details -
Stop appending duplicate exemplars (grafana#1316)
* Add memExemplar in stripeSeries as first iteration Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Add test for skipped duplicate exemplars; Simplify conditional Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Add changelog entry; discard test errors * Move changelog entry Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Add Benchmark for AppendExemplar Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Discard error on added benchmark Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Use original exemplar struct instead of custom memExemplar Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Surround benchmark loop with start/stop timers and close test storage Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Add comment about prepopulating exemplars on WAL startup Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Wire in the totalAppendedExemplars metric Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Make comment more discoverable Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Make sure we're recording exemplars for non-nil series ref only Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for 8cc3f43 - Browse repository at this point
Copy the full SHA 8cc3f43View commit details -
integrations-next: wait for integrations to exit after stopping them (g…
…rafana#1318) * integrations-next: wait for integrations to exit after stopping them * fix lint errors * minor refactor * integrations-next: stop holding config mutex for entire reload * make controller.run authoritative over running integrations * fix log line * move running integrations into a dedicated worker pool
Configuration menu - View commit details
-
Copy full SHA for 9d61761 - Browse repository at this point
Copy the full SHA 9d61761View commit details
Commits on Feb 1, 2022
-
operator/hierarchy: stop using field selector when listing Secrets & …
…ConfigMaps (grafana#1340) The initial implementation of hierarchy.KeySelector injected a FieldSelector when listing Secrets and ConfigMaps to immediately return the single object being queried for. This causes a problem with the client generated by the controller-runtime framework, where the client is wrapped in a cache and field indexer (where only the namespace is indexed by default). This commit avoids using the field selector and the index lookup. The resulting behavior aligns more closely with discovering other resources in the hierarchy (i.e., ServiceMonitors), where the List call is also insufficient and needs post-processing via Matches to find the final list of resources. Given the controller-runtime client uses an informer for reads, all relevant Secrets and ConfigMaps are already in-memory anyway, and using the index for a faster List is a bit of an over-optimization at the moment.
Configuration menu - View commit details
-
Copy full SHA for f2c5526 - Browse repository at this point
Copy the full SHA f2c5526View commit details
Commits on Feb 2, 2022
-
Add dependabot to update go modules and github actions. (grafana#1217)
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2662a17 - Browse repository at this point
Copy the full SHA 2662a17View commit details -
smoke framework refactor (grafana#1326)
* Agent smoke test (grafana#1291) * convert smoke script to go program * update build for agent-smoke * fix pr comments * use existing log helper package * refactor context cancel * update exit codes * use ticker * prefer oklog/run instead of errgroup * use nop logger * refactor task interface * remove functional options * log.With for task loggers * move smoke to tools * build smoke image, push to internal registry * move crow to tools * add gcr_admin secret * fix link to crow * add smoke libsonnet and use in local k3d smoke test * add deletePodBySelectorTask * scale smoke-test replica down after local test * refactor smoke Options to Config * update duration usage message * add some basic unit tests * newlines * pass mutation frequency and chaos frequency from smoke script * pull crow image from gcr * update smoke script * move monitoring to smoke libsonnet * move additional smoke resources needed in deployment tools * reference libsonnet files from grafana-agent dep * make drone * fix images in smoke script * get rid of extVars * update k3d example environment to reference etcd from new location * update smoke docker builds to use go1.17 * use pointer.Int64 * refactor smoke jsonnet (grafana#1296) * add policy rule for list and delete pods (grafana#1319) * refactor smoke.new function to take config object (grafana#1327) * Apply suggestions from code review * Update production/tanka/grafana-agent/smoke/crow/main.libsonnet * Update production/tanka/grafana-agent/smoke/main.libsonnet * Update example/k3d/scripts/smoke-test.bash Co-authored-by: Robert Lankford <robert.lankford@grafana.com> * readme update (grafana#1338) Co-authored-by: Robert Fratto <robert.fratto@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for 568e509 - Browse repository at this point
Copy the full SHA 568e509View commit details -
Correct link to the configuration (grafana#1036)
Co-authored-by: Robert Fratto <robert.fratto@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for abec116 - Browse repository at this point
Copy the full SHA abec116View commit details -
Add stale check Github Action (grafana#1345)
* Add a stale check GH action to run every 24 hours * remove old stale.yml file * add permissions to action * update the stale message to clarify when the stale label will get removed * Update .github/workflows/stale.yml
Configuration menu - View commit details
-
Copy full SHA for 00bb7fa - Browse repository at this point
Copy the full SHA 00bb7faView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa93d3b - Browse repository at this point
Copy the full SHA fa93d3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for df6a62a - Browse repository at this point
Copy the full SHA df6a62aView commit details -
Add K8s Events integration (grafana#1330)
* Add K8s eventhandler integration (grafana#1310) * Add docs and sample manifests to eventhandler integration (grafana#1328) * Wait for cache to flush before returning * Clarify eventhandler docs (grafana#1334) * Clarify docs * Update CHANGELOG.md * Review changes (grafana#1349)
Configuration menu - View commit details
-
Copy full SHA for ebacc56 - Browse repository at this point
Copy the full SHA ebacc56View commit details
Commits on Feb 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e14ac86 - Browse repository at this point
Copy the full SHA e14ac86View commit details
Commits on Feb 4, 2022
-
update withVolumesMixin for agent jsonnet (grafana#1358)
Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for a8bfd47 - Browse repository at this point
Copy the full SHA a8bfd47View commit details -
Configure cluster label using logs client external_labels param (graf…
…ana#1357) * Configure cluster label using logs client external_labels param * Update CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 3c8e6f5 - Browse repository at this point
Copy the full SHA 3c8e6f5View commit details -
add password file and basic auth round tripper in crow (grafana#1361)
* add password file and basic auth round tripper in crow * add ca-certificates in crow image * add orgID flag * update help text
Configuration menu - View commit details
-
Copy full SHA for 15a8aa5 - Browse repository at this point
Copy the full SHA 15a8aa5View commit details
Commits on Feb 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4d56bf2 - Browse repository at this point
Copy the full SHA 4d56bf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2b4a6f - Browse repository at this point
Copy the full SHA e2b4a6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b59dab8 - Browse repository at this point
Copy the full SHA b59dab8View commit details