Commit Graph

3 Commits

Author SHA1 Message Date
Lili Cosic b236e1b000
examples: Follow best practices and established naming conventions (#1650)
* examples: Follow best practices and established naming conventions

This is a nitpick but from my experience and understanding the best
practice for label key naming is to use one word, otherwise using an
underscore. Since this is an example users tend to copy, I think
correcting it might be a good idea.

Signed-off-by: Lili Cosic <cosiclili@gmail.com>

* examples: Switch custom labels example

Signed-off-by: Lili Cosic <cosiclili@gmail.com>

---------

Signed-off-by: Lili Cosic <cosiclili@gmail.com>
Co-authored-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com>
2024-11-25 11:21:42 +01:00
Ying WANG 6efd27deef
Update examples/customlabels/main.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Ying WANG <74549700+ying-jeanne@users.noreply.github.com>
2024-09-18 09:20:45 +02:00
Ying WANG b079872c87
examples: Add custom labels example
Signed-off-by: Ying WANG <ying.wang@grafana.com>
2024-09-16 00:15:30 +02:00