Difference between revisions of "Template: ArticlePEServiceMetrics"

From Genesys Documentation
Jump to: navigation, search
(Undo revision 104038 by Jose.druker@genesys.com (talk))
(Tag: Undo)
(Adding IF ShortName to the query for the display)
Line 51: Line 51:
 
!'''Metrics update interval'''
 
!'''Metrics update interval'''
 
{{!}}-
 
{{!}}-
{{!}}{{#cargo_query:tables=IncludedService|fields=Name|where=Id="{{{IncludedServiceId}}}"}}
+
{{!}}{{#cargo_query:tables=IncludedService|fields=IF(ShortName IS NOT NULL,ShortName,Name)|where=Id="{{{IncludedServiceId}}}"}}
 
{{!}}{{{CRD|}}}{{{Annotations|}}}
 
{{!}}{{{CRD|}}}{{{Annotations|}}}
 
{{!}}{{{Port|}}}
 
{{!}}{{{Port|}}}

Revision as of 22:59, October 4, 2021

This is the "ArticlePEServiceMetrics" template. It should be called in the following format:

{{ArticlePEServiceMetrics
|IncludedServiceId=
|CRD=
|Annotations=
|Port=
|Endpoint=
|MetricsIntro=
|MetricsUpdateInterval=
}}

Edit the page to see the template text. This template defines the table "ArticlePEServiceMetrics". View table. This template adds rows to the table "PEMonitoring", which is declared by the template PEMonitoring. View table.

Retrieved from "https://all.docs.genesys.com/Template:ArticlePEServiceMetrics (2024-07-28 02:23:22)"