in glean_parser/markdown.py [0:0]
def metrics_docs(obj_name: str) -> str:
"""
Return a link to the documentation entry for the Glean SDK metric of the
requested type.
"""
# We need to fixup labeled stuff, as types are singular and docs refer
# to them as plural.
fixedup_name = obj_name
if obj_name.startswith("labeled_"):
fixedup_name += "s"
return f"https://mozilla.github.io/glean/book/user/metrics/{fixedup_name}.html"