aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/schema-test-files/services-hosted-infrastructure.xml
blob: 3ff6758880b0272f1cdefd781054557779270256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<services version="1.0" application-type="hosted-infrastructure">

  <admin version="4.0">
    <slobroks><nodes count="3" flavor="small"/></slobroks>
    <logservers><nodes count="1" dedicated="true"/></logservers>
    <monitoring systemname="vespa.routing" interval="60" />
    <metric-consumers>
      <consumer name="yamas">
        <metric name="upstreams_generated" />
        <metric name="upstreams_nginx_reloads" />
        <metric name="upstreams_nginx_reloads_succeeded" />
        <metric name="upstreams_configuration_age.last" />
        <metric name="nginx.upstreams.up.last" output-name="nginx.upstreams.up"/>
        <metric name="nginx.upstreams.down.last" output-name="nginx.upstreams.down"/>
      </consumer>
    </metric-consumers>
  </admin>

  <jdisc id="container" version="1.0">
    <nodes count="5" flavor="medium"/>
  </jdisc>

  <content id="search" version="1.0">
    <redundancy>2</redundancy>
    <controllers><nodes count="3" dedicated="true"/></controllers>
    <nodes count="7" flavor="large" groups="12"/>
  </content>

</services>