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

feat(metrics): Support multiple OTEL tables #610

Merged
merged 4 commits into from
Feb 12, 2025

Conversation

dhable
Copy link

@dhable dhable commented Feb 12, 2025

Updated the source configuration dialog for metrics to handle multiple, supported OTEL metric tables in a single form.

Screenshot 2025-02-12 at 8 43 05 AM

Ref: HDX-1390

Updated the source configuration dialog for metrics to handle
multiple, supported OTEL metric tables in a single form.

Ref: HDX-1390
}
}
} catch (e) {
console.error(e);

Choose a reason for hiding this comment

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

nit: Should probably toast here with e.message

Copy link
Author

Choose a reason for hiding this comment

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

Added just below but left in the console.error so we also output more context for debugging later.

Added notification toast when catching error trying to validate
the table.
Copy link

changeset-bot bot commented Feb 12, 2025

🦋 Changeset detected

Latest commit: 365f611

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@hyperdx/common-utils Minor
@hyperdx/api Minor
@hyperdx/app Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

const connectionId = watch(`connection`);

const [showOptionalFields, setShowOptionalFields] = useState(false);
useEffect(() => {
setValue('timestampValueExpression', '');
Copy link
Contributor

Choose a reason for hiding this comment

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

can we set this to TimeUnix or StartTimeUnix?

Copy link
Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@MikeShi42 MikeShi42 left a comment

Choose a reason for hiding this comment

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

looks like tests aren't running properly in CI but since it's passing on your machine 👍

@MikeShi42 MikeShi42 merged commit 759da7a into v2 Feb 12, 2025
3 of 4 checks passed
@kodiakhq kodiakhq bot deleted the dhable/hdx-1390-otel-metrics-under-one-source branch February 12, 2025 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants