Skip to content

Conversation

@scttcper
Copy link
Member

@scttcper scttcper commented Nov 20, 2025

brings back apdex option for spans

stacked on #103697

image

- hides failure rate and failure count options from metric monitors
- hides string tags for aggregate functions like p50, p90
Adds back the apdex option and a test so it doesn't disappear.
@scttcper scttcper requested a review from a team as a code owner November 20, 2025 23:36
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 20, 2025
Base automatically changed from scttcper/fix-aci-EAP-options to master November 20, 2025 23:56
const LOCKED_SPAN_AGGREGATES = {
[AggregationKey.APDEX]: {
value: DEFAULT_VISUALIZATION_FIELD,
label: t('span.duration'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be cleaner if you just set span.duration to be the single allowable type for this parameter

Copy link
Member Author

@scttcper scttcper Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is what this is doing, i've removed the disabled

# Conflicts:
#	static/app/views/detectors/components/forms/metric/visualize.tsx
@codecov
Copy link

codecov bot commented Nov 21, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
12658 1 12657 10
View the top 1 failed test(s) by shortest run time
DetectorEdit Metric disables column select when spans + count()
Stack Traces | 0.371s run time
Error: expect(element).toBeDisabled()

Received element is not disabled:
  <button aria-disabled="false" aria-expanded="false" aria-haspopup="listbox" class="en302zp1 css-g0v7il-StyledButton-getColors-getFocusState-getColors-getSizeStyles-getBoxShadow-DO_NOT_USE_getButtonStyles-StyledButton e1hnfhxi2" data-react-aria-pressable="true" id="_r_uc_" role="button" tabindex="0" type="button" />
    at Object.toBeDisabled (.../views/detectors/edit.spec.tsx:609:22)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants