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

Add statsd ingest #313

Merged
merged 6 commits into from
Feb 3, 2022
Merged

Add statsd ingest #313

merged 6 commits into from
Feb 3, 2022

Conversation

toszr
Copy link
Contributor

@toszr toszr commented Oct 19, 2021

This changeset enhances ActiveGate routing capability with the StatsD interface.

To enable, set the following feature flags to true:

  • alpha.operator.dynatrace.com/feature-enable-statsd
  • alpha.operator.dynatrace.com/feature-use-activegate-image-for-statsd (use custom ActiveGate image with built-in StatsD and EEC)

If enabled, the routing ActiveGate pod will include two new StatsD ingest-related containers (Extension Controller and StatsD data source), and the ActiveGate service will include an extra UDP port for StatsD packets (:18125).

@toszr toszr self-assigned this Oct 19, 2021
@0sewa0 0sewa0 added the activegate Changes related to Activegate label Oct 28, 2021
@toszr toszr force-pushed the feature/statsd-ingest branch 2 times, most recently from 921fa1d to e879115 Compare November 23, 2021 17:36
@toszr toszr force-pushed the feature/statsd-ingest branch 2 times, most recently from a87281b to b839ac7 Compare January 25, 2022 07:58
src/api/v1beta1/properties.go Show resolved Hide resolved
src/api/v1beta1/properties.go Outdated Show resolved Hide resolved
src/api/v1beta1/properties_test.go Outdated Show resolved Hide resolved
src/webhook/validation/api_url.go Outdated Show resolved Hide resolved
src/webhook/validation/api_url.go Show resolved Hide resolved
…d on reconciliation

Added StatsD UDP port to the ActiveGate service

Hide StatsD and EEC containers under feature flag 'enable-statsd'
Added feature flag 'use-activegate-image-for-statsd' to control whether custom entry points are needed for StatsD/EEC containers

Add/remove StatsD port from ActiveGate service on reconciliation if the relevant feature flag had been changed

Added integration test for ActiveGate service update on StatsD feature flags change; Some refactoring around service reconciler tests

Implemented review comments (moved getTenantId() to properties.go, import renames etc.)

Removed eec-config volume placeholder (will be addressed separately)

Improved updating container ports based on their names

Fixed unit tests and logger references

Refactored unit tests

Fix ActiveGate-related container and port names
@chrismuellner chrismuellner changed the title Feature/statsd ingest Add statsd ingest Feb 3, 2022
@0sewa0 0sewa0 enabled auto-merge (squash) February 3, 2022 14:13
@0sewa0 0sewa0 merged commit 7628460 into master Feb 3, 2022
@toszr toszr deleted the feature/statsd-ingest branch February 10, 2022 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
activegate Changes related to Activegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants