Difference between revisions of "Template: ArticlePEServiceMetrics"
From Genesys Documentation
(Modifying the table display for NoCRDsOrAnnotations) |
|||
Line 51: | Line 51: | ||
!'''Metrics update interval''' | !'''Metrics update interval''' | ||
{{!}}- | {{!}}- | ||
− | {{!}} {{#if:{{{AltServiceDisplayName|}}}|{{{AltServiceDisplayName}}}|{{#cargo_query:tables=IncludedService|fields=IF(ShortName IS NOT NULL,ShortName,Name)|where=Id="{{{IncludedServiceId}}}"}}}} | + | {{!}} {{#if:{{{NoCRDsOrAnnotations|}}}|rowspan="2"{{!}}|}}{{#if:{{{AltServiceDisplayName|}}}|{{{AltServiceDisplayName}}}|{{#cargo_query:tables=IncludedService|fields=IF(ShortName IS NOT NULL,ShortName,Name)|where=Id="{{{IncludedServiceId}}}"}}}} |
{{!}}{{{CRD|}}}{{{Annotations|}}} | {{!}}{{{CRD|}}}{{{Annotations|}}} | ||
{{!}}{{{Port|}}} | {{!}}{{{Port|}}} | ||
{{!}}{{{Endpoint|}}} | {{!}}{{{Endpoint|}}} | ||
− | {{!}}{{{MetricsUpdateInterval|}}} | + | {{!}}{{{MetricsUpdateInterval|}}}{{#if:{{{NoCRDsOrAnnotations|}}}|<br/> |
+ | {{!}}- | ||
+ | {{!}} colspan="4"{{!}}{{{NoCRDsOrAnnotations}}}|}} | ||
{{!}}} | {{!}}} | ||
{{#switch:{{{AlertsDefined}}}|No=|Yes|#default= | {{#switch:{{{AlertsDefined}}}|No=|Yes|#default= |
Revision as of 20:59, October 21, 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.