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

[APM] Alert annotation in Service maps #228

Closed
formgeist opened this issue Mar 17, 2020 · 6 comments
Closed

[APM] Alert annotation in Service maps #228

formgeist opened this issue Mar 17, 2020 · 6 comments
Assignees

Comments

@formgeist
Copy link
Contributor

Summary

In #170 we specified a way to indicate alerts on the service nodes. The issue had a concept of how we might annotate alerts, this issue is to complete that work separately from the original issue.

Proposed solution

Kapture 2020-03-17 at 14 28 03

Selected service

@elasticmachine
Copy link
Contributor

Pinging @elastic/observability-design (design)

@smith
Copy link

smith commented Mar 17, 2020

The dot on the node might be some work with normal Cytoscape.js. It might need to be drawn as part of the icon SVG (though I'm not sure if that can break out of the circle) or be a separate layer overlay on top of the graph that will need to be positioned and sized based on the pan and zoom.

@formgeist
Copy link
Contributor Author

I looked at some of the demos, and there's an example where on the hover and selected state, it adds a little dot (albeit at the top of the circular node). I haven't pulled down the demo to check out how it was achieved, but I assume that's a custom SVG?

Screenshot 2020-03-18 at 11 08 13

https://cytoscape.org/cytoscape.js-edgehandles/demo-snap.html

@smith
Copy link

smith commented Mar 18, 2020

@formgeist looks like this is done with the cytoscape/cytoscape.js-edgehandles extension, which extends cytoscape itself, and those dots are for dragging a connecting line to another node. We can look at the code for that extension to see how it was done.

@formgeist
Copy link
Contributor Author

@smith Thanks for investigating - right now, I'm still working on the final form of the annotation, so I'll share when I have something that we can discuss from.

@formgeist
Copy link
Contributor Author

Closing in favor of #222 which also handles the design of the alert annotation

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

No branches or pull requests

3 participants