Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello Everyone! I Have A Pipeline That Stores A Metric X (A Single Number) At The End And I Want To Display A Graph Of This Metric In Project Dashboard, So That I Can See How It Changes With Each Pipeline Run And Get A Slack Notification If The Value Of T

Hello everyone!
I have a Pipeline that stores a metric X (a single number) at the end and I want to display a graph of this metric in Project Dashboard, so that I can see how it changes with each Pipeline run and get a Slack notification if the value of this metric goes out of bounds.
I don't quite understand how the metric should be saved, via report_single_value? And what should I enter into the title and series fields in Project Dashboard?
Thanks!

  
  
Posted one month ago
Votes Newest

Answers 3


Yes, metrics can be saved in both steps and pipelines. As for project dashboards, I think as of now we don't support them in UI for pipelines. But what you can do instead is to run a special "reporting" Task that will query all the pipeline runs from a specific project, and with it you can then manually plot all the important information yourself.

To get the pipeline runs, please see documentation here: None

  
  
Posted one month ago

Hey @<1661904968040321024:profile|SpotlessOwl43> that's a great question!

how the metric should be saved, via report_single_value?

That's correct

what should I enter into the title and series fields in Project Dashboard?

The title should be "Summary" and series is the name of the single value you reported

  
  
Posted one month ago

@<1537605940121964544:profile|EnthusiasticShrimp49> Thanks for the answer. It works.
Maybe you can also tell me, worked-out pipelines are saved in Projects in a hidden folder .pipelines and from there I can't get metrics for Dashboards, what is the best way to do this in this situation, metrics can be saved both in the taskbar of a pipelines and in the taskbar of a stage of a pipelines?

  
  
Posted one month ago