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

Changing data type of appsignals integ test #400

Closed
wants to merge 6 commits into from

Conversation

Paramadon
Copy link
Contributor

Description of the issue

Current server_consumer.json and client_producer.json generates invalid app signal metrics. The metrics Latency, Error, and Fault should be an object but instead the request sent to the agent generated the metrics to just be zero.

Metrics are not objects

Screenshot 2024-04-09 at 3 13 50 PM

Description of changes

It is a really small change, the data type of each metric is sum but instead it should be the type exponential_histogram. This is the correct type and it generates correct app signal metrics.

Verifying correct metrics were generated

Screenshot 2024-04-09 at 3 11 54 PM

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Sent json's to the agent and checked the console which had the correct format of the metrics.

@Paramadon Paramadon requested a review from a team as a code owner April 9, 2024 19:22
@zhihonl
Copy link
Contributor

zhihonl commented Apr 11, 2024

Is this being used in one of the integration tests? If so can you add the test run so we know it's working

@lisguo
Copy link
Contributor

lisguo commented Apr 11, 2024

Let's run the integ test a few times and see if the apm team is still affected by this. We should probably ping Mahad to take a look at this as well

@Paramadon Paramadon changed the title App signal invalid metric fix Changing data type of appsignals integ test Apr 16, 2024
@Paramadon Paramadon closed this Apr 30, 2024
@Paramadon Paramadon deleted the AppSignalInvalidMetricFix branch June 14, 2024 16:10
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.

5 participants