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

maint: DO NOT MERGE experiment with duration as a hist #1377

Closed
wants to merge 8 commits into from

Conversation

TylerHelmuth
Copy link
Contributor

No description provided.

MikeGoldsmith and others added 7 commits October 4, 2024 14:09
## Which problem is this PR solving?

Refinery loses the original user agent of the sending application
because it aggregates spans until a trace decision is made. This PR
records the original user agent for both HTTP and gRPC requests to the
event, batch and OTLP trace/log endpoints in a new metadata field
`meta.refinery.incoming_user_agent`.

- Closes #1356

## Short description of the changes
- Update event, batch, OTLP trace/logs endpoints to record original user
agent in new field
- Update tests to verify events have the new field set
- Add defer for bad API key test to restore allowed keys so subsequent
tests can pass
# Conflicts:
#	app/app_test.go
#	route/route.go
## Which problem is this PR solving?

- If someone sends a big trace where one of the sampler keys is a
high-cardinality field, Refinery could generate a huge sampler key
value. This causes problems both for refinery but also the downstream
telemetry. Let's not do that.

## Short description of the changes

- Put a limit of 100 unique values to make up any one sampler key. Even
that is big and probably useless but it should avoid any real use cases.
- Add a test to show it works.

Fixes #1363

---------

Co-authored-by: Mike Goldsmth <[email protected]>
## Which problem is this PR solving?

Following up to the following PR, we should only set the incoming user
agent if the key does not already exist. This is useful in certain
scenarios when two Refinery's are connected together.

- #1358

## Short description of the changes
- Only set incoming user agent meta field if the event doesn't already
have a value for it
- Add unit test to verify behaviour
- Update existing tests to set custom user-agent and verify it's set
correctly
# Conflicts:
#	app/app_test.go
#	route/route_test.go
## Which problem is this PR solving?

When there's a big volume of traffic, collector can take longer to
respond to the health check

## Short description of the changes

- add a new config option `HealthCheckTimeout` in `Collection`

---------

Co-authored-by: Tyler Helmuth <[email protected]>
# Conflicts:
#	config/metadata/configMeta.yaml
## Which problem is this PR solving?

Prepares the 2.8.3 release.

## Short description of the changes

- Add change log entry
- Add release notes entry
## Which problem is this PR solving?

- Closes #1335 

## Short description of the changes

- Add bool case to ConvertNumeric
- Add test for ConvertNumeric function
## Which problem is this PR solving?
Prepares the v2.8.3 release.

## Short description of the changes
- Add change log entry
- Add release notes entry
@TylerHelmuth TylerHelmuth requested a review from a team as a code owner October 10, 2024 21:45
@TylerHelmuth TylerHelmuth force-pushed the tyler.investigate-collect branch from 3fe56e3 to ae12669 Compare October 10, 2024 21:57
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.

4 participants