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

crow doc #8

Closed
wants to merge 260 commits into from
Closed

crow doc #8

wants to merge 260 commits into from

Conversation

mattdurham
Copy link

PR Description

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

rfratto and others added 30 commits December 4, 2020 14:09
* add consul_exporter integration

* update changelog

* add consul to integrations test env

* s/statsd/consul
* Add support to skip TLS verification for Tempo exporter

This will bump the opentelemetry-collector to v.0.16.0 which now
supports insecure_skip_verify for TLS. This can be configured under the
push_config to be passed to the otel collector.

* Run go mod tidy to fix go.mod/go.sum

* Vendor dependencies after update go.mod

* Document Opentemetry-collector bump in CHANGELOG

* docs: Add insecure_skip_verify to tempo_config section

Co-authored-by: Robert Fratto <robertfratto@gmail.com>
* override Loki User-Agent header

Fixes grafana#188

* update CHANGELOG

* revert hacky workaround, no longer needed now that fix in loki is merged

* use prometheus version for setting user-agent header

This avoids the same problem that Loki originally had and allows
downstream importers that use prometheus/common/version to import
the loki package without it overwriting their build info.
* Added config environment expansion

* Implemented optional env-var config substitution using CLI flag

* Update pkg/config/config.go

Co-authored-by: Robert Fratto <robertfratto@gmail.com>

Co-authored-by: Robert Fratto <robertfratto@gmail.com>
* grafanacloud-specific install script

* remove empty comment

* Update cmd/agentctl/main.go

Co-authored-by: Evan <10603766+hoenn@users.noreply.github.com>

* appease the linter

* Update production/grafanacloud-install.sh

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update production/grafanacloud-install.sh

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update production/grafanacloud-install.sh

Co-authored-by: Karsten Jeschkies <k@jeschkies.xyz>

* review feedback

* agentctl: change to consistent command function naming

* print success message after installing/starting agent service

Co-authored-by: Evan <10603766+hoenn@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Karsten Jeschkies <k@jeschkies.xyz>
* Update ADOPTERS.md
Signed-off-by: yeya24 <yb532204897@gmail.com>
* prepare for 0.9.1 release

* add v0.9.1 entry to changelog
* add dynamic integration registration system

This commit adds a dynamic integration registration system similar to
(and mostly copied from) Prometheus' SD registration mechanism.

* fix lint error

* fix runtime errors

* refactor integrations

1. Integration interface moved to integrations
2. Integration Config interface now responsible for providing
   name/config

* marshal manager config with embedded integrations
* Fixing issue 206

Added mapping for listen address so that it propagates correctly and is honored by the http server.

* Added changelog doc

* Added additional comments on changelog

* Clean up formatting

* Changed host to pointer and updated tests to support that

* Cleaned up spacing
* update process exporter to v0.7.5

* update depcheck entry and CHANGELOG
* don't mount /var/log as readonly

* update phrasing in changelog to explain what the issue was
Remove WAL directories that are no longer associated with a `ManagedInstance`
that this agent is responsible for. The storage directories used by active
instances are compared to all subdirectories under the `wal_directory` root.
Any that are not associated with an instance and that haven't been modified
in over a configured amount of time are removed.

How often the check is run and the cutoff for how recently a WAL must have
been modified are controlled by the `wal_cleanup_period` and
`wal_cleanup_age` settings respectively, under the top-level Prometheus
configuration. When omitted, they default to a period of 30 minutes and
recently modified threshold of 12 hours.

Fixes grafana#132
* Use a newer libsystemd in Docker containers

Corresponds to grafana/loki#2957

* changelog

* merge apt-get commands to create less layers
Having the warning prefix every version is getting silly. I've
created grafana#317 to track the issue and added a consolidated warning
at the top of the CHANGELOG.
…afana#322)

* add sigv4 as a custom authentication method for remote_write data

* address review feedback i gave myself

* require region

* docs, changelog

* make region requirements more clear
* Explicitly specify API server Service name so DNS resolves to IP matching cert.

* Update changelog

* add server_name to jsonnet

Co-authored-by: Robert Fratto <robertfratto@gmail.com>
* support ARMv6 linux builds

* Only zip files starting with `agent`
Also fixes bug where the deployment scrape config was included with host
filtering enabled, where the inverse should've been true.
mattdurham and others added 28 commits July 22, 2021 16:03
…rafana#769)

* Update dependencies

* Add image tag and operator image

* Add signed drone

* Remove extra depends on

* Update Makefile

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>
* Split load balancing

* Point to load balancing from tail sampling

* Old configs are not supported

* Add warning log when no load balancing

* Improve some sentences
* Update postgres exporter version

* Update changelog with postgres exporter version bump

* Preferred ordering in Changelog. Updated postgres integration docs to reflect new configuration options

* Set the default metric prefix
…rafana#776)

* TestEnqueueRequestForSelector: only run test if -online flag is set

This test does download and invoke kubebuilder-tools, to make sure there
is no extra steps needed just to run this one test.
(grafana#731 (comment)).

However, distros usually build and run tests in a sandbox with network
access disabled, causing this test to fail.

Introduce a `online` flag, defaulting to false, and skip this test as
long as `-online` is not passed.

CI, which invokes `make test` deliberately sets this to true, to have
coverage for that test provided by CI.

Fixes grafana#731.

* fix flag passing

Co-authored-by: Robert Fratto <robertfratto@gmail.com>
* Use Deployment for traces quickstart

* Add link to traces quickstart

* Set HOSTNAME env var regardless of application

* format, move container env to agent.libsonnet

Co-authored-by: Robert Fratto <robertfratto@gmail.com>
The original [documentation](../operator/_index.md) makes the link broken; removing the _index.md part should fix it based on similar links in this and other pages.
* Initial commit of github exporter integration

* Add github exporter config docs. Use a fork of github-exporter with small bug fixes and labeling improvements. gofmt

* Linting fixes for github-exporter

* Okay... More linting then

* Maybe running the linter locally instead of waiting for CI to bark at you is the wiser course.

* Minor github-exporter documentation change. Update github-exporter dependency to fork which cleans up the config steps

* Update docs/configuration/integrations/github-exporter-config.md

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>

* Update docs/configuration/integrations/github-exporter-config.md

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>

* Check for errors from github exporter config

* Actually import the packages you're using

* Rebase to main and resolve go.sum conflict

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>
* Initialize biggest ref to existing ref when reading a segment (grafana#676)

* initialize biggest ref to existing ref when reading a segment

* changelog

* allow new test to be less hard-coded

* explain error if test fails

* clarify changelog issue

* prepare for v0.16.1 release (grafana#679)

* adding docker-compose example for local testing

(cherry picked from commit 992e3cf)

* Cherry picking kafka importer

* update Operator FAQ to describe custom scrape jobs (grafana#658)

* Merge

* merge for race condition

* Wall cherry pick

* Import Kafka

* Bump version number to v0.17.0

* Initial release of v0.18.0 includes github_exporter, enabled flag issue, OTLP HTPP, and updated postgres exporter

* Tempo/traces docs fixes for v0.18.0 (grafana#784)

* Needs to be loki for the naming change

* Update date

* No change, just trying to trigger drone

* Fix for drone naming

* Changes that needed to me imported for drone to work.

* Update drone issues

* sign drone

* Drone changes

* Update operator

* standardize on seego

* Test tag

* fix tag

* updated makefile

* release tag fixing

* remove extra tag

* Readd missing upgrade info

* Restructure based on new doc format

* Small tweaks

* Merge issues and naming

* Change some minor formatting

* Change some minor formatting

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>
Co-authored-by: Gabriel <g.amaral.antunes@gmail.com>
Co-authored-by: Mario <mariorvinas@gmail.com>
* Initialize biggest ref to existing ref when reading a segment (grafana#676)

* initialize biggest ref to existing ref when reading a segment

* changelog

* allow new test to be less hard-coded

* explain error if test fails

* clarify changelog issue

* prepare for v0.16.1 release (grafana#679)

* adding docker-compose example for local testing

(cherry picked from commit 992e3cf)

* Cherry picking kafka importer

* update Operator FAQ to describe custom scrape jobs (grafana#658)

* Merge

* merge for race condition

* Wall cherry pick

* Import Kafka

* Bump version number to v0.17.0

* Initial release of v0.18.0 includes github_exporter, enabled flag issue, OTLP HTPP, and updated postgres exporter

* Tempo/traces docs fixes for v0.18.0 (grafana#784)

* Needs to be loki for the naming change

* Update date

* No change, just trying to trigger drone

* Fix for drone naming

* Changes that needed to me imported for drone to work.

* Update drone issues

* sign drone

* Drone changes

* Update operator

* standardize on seego

* Test tag

* fix tag

* updated makefile

* release tag fixing

* remove extra tag

* consul specific list support added

* Fix type

* Add comment

* Fix for etcd issue that I introduced

* Update to v0.18.1

* Fix for test error

* Fix small naming/style issues

* Fix small naming/style issues

* Update go.mod

* Update configuration changes to v0.18.1

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>
Co-authored-by: Gabriel <g.amaral.antunes@gmail.com>
Co-authored-by: Mario <mariorvinas@gmail.com>
…fana#790)

* operator: regenerate CRDs with controller-gen

controller-gen@latest now uses kubebuilder v0.6.2, which does
linebreaks. Reformat to keep the diff smaller for future changes.

* operator: crds: fix typo in EnforcedNamespaceLabel

* controller-gen: explicitly pin versions

Right now, we only asked to install `@latest`.

controller-gen@v0.6.2 changed the word wrapping.
Developers installing this according to
`cmd/agent-operator/DEVELOPERS.md` will get CRDs formated differently
than what the container image will create, and the container image will
produce new outputs whenever the container layer gets recreated.

Explicitly provide a version, and add cross-references on both sides to
ensure this stays in sync.

* Bump build-image version

Co-authored-by: Robert Fratto <robertfratto@gmail.com>
* Ensure drone tag always has a value, default to v0.0.0

* Sign drone and remove info messages

* This is a temporary fix to test the containerize functionality.

* Rollback check for containerization on branch
* add HOSTNAME env variable to service file

* changelog

* changelog sort

Co-authored-by: Robert Fratto <robertfratto@gmail.com>
* Fix darwin filesystem collector defaults

* Changelog update
* Initialize biggest ref to existing ref when reading a segment (grafana#676)

* initialize biggest ref to existing ref when reading a segment

* changelog

* allow new test to be less hard-coded

* explain error if test fails

* clarify changelog issue

* prepare for v0.16.1 release (grafana#679)

* adding docker-compose example for local testing

(cherry picked from commit 992e3cf)

* Cherry picking kafka importer

* update Operator FAQ to describe custom scrape jobs (grafana#658)

* Merge

* merge for race condition

* Wall cherry pick

* Import Kafka

* Bump version number to v0.17.0

* Initial release of v0.18.0 includes github_exporter, enabled flag issue, OTLP HTPP, and updated postgres exporter

* Tempo/traces docs fixes for v0.18.0 (grafana#784)

* Needs to be loki for the naming change

* Update date

* No change, just trying to trigger drone

* Fix for drone naming

* Changes that needed to me imported for drone to work.

* Update drone issues

* sign drone

* Drone changes

* Update operator

* standardize on seego

* Test tag

* fix tag

* updated makefile

* release tag fixing

* remove extra tag

* consul specific list support added

* Fix type

* Add comment

* Fix for etcd issue that I introduced

* Update to v0.18.1

* Fix for test error

* Fix small naming/style issues

* Update version number to v0.18.2 and fix issues with prefixes.

* Update missed merges

* Add operate allowed version

Co-authored-by: Robert Fratto <robert.fratto@grafana.com>
Co-authored-by: Gabriel <g.amaral.antunes@gmail.com>
Co-authored-by: Mario <mariorvinas@gmail.com>
* basic working example

* increase default sample backoff to 1.25s

* increase check frequency

* tests for ready

* review feedback

* finish initial implementation

* sign drone

* fix lint issues

* Update pkg/crow/samples.go
@mattdurham mattdurham marked this pull request as draft September 7, 2021 14:30
@mattdurham mattdurham closed this Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.