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

Add link to deployment log to grafana logger #1377

Merged
merged 8 commits into from
Sep 23, 2024

Conversation

jorgeazevedo
Copy link
Contributor

@jorgeazevedo jorgeazevedo commented Sep 20, 2024

What does this change?

This PR adds a new field to the grafana logger containing an html a tag. This is displayed by grafana as an actual link in the annotation, like in the screenshot below.

c65ae7ecc3f61135368b76028ca3c6ae12a34594

The intention is to turn the build number in our annotation to a link to the actual deployment in riff raff

Screenshot 2024-09-23 at 10 41 25

How to test

We deployed this branch to riff raff code, deployed the cdk playground project, and were able to harcode grafana to display the deployment as an annotation and it seemed to work ok!

@jorgeazevedo jorgeazevedo changed the title Add html tag parameter Add link to deployment log to grafana logger Sep 23, 2024
@jorgeazevedo jorgeazevedo marked this pull request as ready for review September 23, 2024 09:43
@jorgeazevedo jorgeazevedo requested review from a team as code owners September 23, 2024 09:43
@jorgeazevedo jorgeazevedo merged commit f901012 into main Sep 23, 2024
3 checks passed
@jorgeazevedo jorgeazevedo deleted the grafana-annotation-urls branch September 23, 2024 09:47
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.

2 participants