Netdata Community

How to insert badge into Gitlab readme.md?

Hello,

Is any way to embed Netdata badge into Gitlab readme markdown file? When I write md-file in Typora editor I can see nice preview, but after commiting the file to gitlab, the badge disappeared.

<embed src="http://example.com:19999//api/v1/badge.svg?chart=mem.available&alarm=ram_available&refresh=auto" type="image/svg+xml" height="20"/>

Probably someone has an experience like this (or Github).

1 Like

Hi Evan :wave:t2:,

The first thing that I notice is that you have a double // after the URL of the node.

Moreover, we have this doc on badges, which is in itself a nice set of examples of badges. You can look into the exact syntax of each badge by right-clicking on a badge and selecting inspect: