Difference between revisions of "Template: ArticlePEServiceMetrics"

From Genesys Documentation
Jump to: navigation, search
(Adding IF ShortName to the query for the display)
Line 43: Line 43:
 
|display name={{#cargo_query:tables=IncludedService,ArticlePEServiceMetrics|join on=IncludedService.Id=ArticlePEServiceMetrics.IncludedServiceId|fields=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)|no html|where=ArticlePEServiceMetrics._pageName="{{FULLPAGENAME}}"|group by=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)}} metrics and alerts
 
|display name={{#cargo_query:tables=IncludedService,ArticlePEServiceMetrics|join on=IncludedService.Id=ArticlePEServiceMetrics.IncludedServiceId|fields=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)|no html|where=ArticlePEServiceMetrics._pageName="{{FULLPAGENAME}}"|group by=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)}} metrics and alerts
 
|toc name=
 
|toc name=
}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|Context=Find the metrics {{#cargo_query:tables=IncludedService,ArticlePEServiceMetrics|join on=IncludedService.Id=ArticlePEServiceMetrics.IncludedServiceId|fields=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)|where=ArticlePEServiceMetrics._pageName="{{FULLPAGENAME}}"|group by=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)}} exposes and the alerts defined for {{#cargo_query:tables=IncludedService,ArticlePEServiceMetrics|join on=IncludedService.Id=ArticlePEServiceMetrics.IncludedServiceId|fields=IF(IncludedService.ShortName,IncludedService.ShortName,IncludedService.Name)|where=ArticlePEServiceMetrics._pageName="{{FULLPAGENAME}}"|group by=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)}}.|PageType=Article}}__TOC__
+
}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|Context=Find the metrics {{#cargo_query:tables=IncludedService,ArticlePEServiceMetrics|join on=IncludedService.Id=ArticlePEServiceMetrics.IncludedServiceId|fields=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)|where=ArticlePEServiceMetrics._pageName="{{FULLPAGENAME}}"|group by=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)}} exposes and the alerts defined for {{#cargo_query:tables=IncludedService,ArticlePEServiceMetrics|join on=IncludedService.Id=ArticlePEServiceMetrics.IncludedServiceId|fields=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)|where=ArticlePEServiceMetrics._pageName="{{FULLPAGENAME}}"|group by=IF(IncludedService.ShortName IS NOT NULL,IncludedService.ShortName,IncludedService.Name)}}.|PageType=Article}}__TOC__
 
{{{!}}
 
{{{!}}
 
! '''Service'''
 
! '''Service'''

Revision as of 13:48, October 5, 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-10-06 23:56:07)"