github.com/thanos-io/thanos@v0.32.5/pkg/ui/react-app/src/pages/flags/__snapshots__/Flags.test.tsx.snap (about)

     1  // Jest Snapshot v1, https://goo.gl/fbAQLP
     2  
     3  exports[`Flags should match snapshot 1`] = `
     4  <Fragment>
     5    <h2>
     6      Command-Line Flags
     7    </h2>
     8    <InputGroup
     9      tag="div"
    10    >
    11      <Input
    12        autoFocus={true}
    13        className="my-3"
    14        onChange={[Function]}
    15        placeholder="Filter by flag name or value..."
    16        type="text"
    17        value=""
    18      />
    19    </InputGroup>
    20    <Table
    21      bordered={true}
    22      hover={true}
    23      responsiveTag="div"
    24      size="sm"
    25      striped={true}
    26      tag="table"
    27    >
    28      <thead>
    29        <tr>
    30          <td
    31            className="px-4 Flag"
    32            key="Flag"
    33            onClick={[Function]}
    34            style={
    35              Object {
    36                "width": "50%",
    37              }
    38            }
    39          >
    40            <span
    41              className="mr-2"
    42            >
    43              Flag
    44            </span>
    45            <FontAwesomeIcon
    46              border={false}
    47              className=""
    48              fixedWidth={false}
    49              flip={null}
    50              icon={
    51                Object {
    52                  "icon": Array [
    53                    320,
    54                    512,
    55                    Array [],
    56                    "f0dd",
    57                    "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z",
    58                  ],
    59                  "iconName": "sort-down",
    60                  "prefix": "fas",
    61                }
    62              }
    63              inverse={false}
    64              listItem={false}
    65              mask={null}
    66              pull={null}
    67              pulse={false}
    68              rotation={null}
    69              size={null}
    70              spin={false}
    71              swapOpacity={false}
    72              symbol={false}
    73              title=""
    74              transform={null}
    75            />
    76          </td>
    77          <td
    78            className="px-4 Value"
    79            key="Value"
    80            onClick={[Function]}
    81            style={
    82              Object {
    83                "width": "50%",
    84              }
    85            }
    86          >
    87            <span
    88              className="mr-2"
    89            >
    90              Value
    91            </span>
    92            <FontAwesomeIcon
    93              border={false}
    94              className=""
    95              fixedWidth={false}
    96              flip={null}
    97              icon={
    98                Object {
    99                  "icon": Array [
   100                    320,
   101                    512,
   102                    Array [],
   103                    "f0dc",
   104                    "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z",
   105                  ],
   106                  "iconName": "sort",
   107                  "prefix": "fas",
   108                }
   109              }
   110              inverse={false}
   111              listItem={false}
   112              mask={null}
   113              pull={null}
   114              pulse={false}
   115              rotation={null}
   116              size={null}
   117              spin={false}
   118              swapOpacity={false}
   119              symbol={false}
   120              title=""
   121              transform={null}
   122            />
   123          </td>
   124        </tr>
   125      </thead>
   126      <tbody>
   127        <tr
   128          key="--alertmanager.notification-queue-capacity"
   129        >
   130          <td
   131            className="flag-item"
   132          >
   133            <span
   134              dangerouslySetInnerHTML={
   135                Object {
   136                  "__html": "--alertmanager.notification-queue-capacity",
   137                }
   138              }
   139            />
   140          </td>
   141          <td
   142            className="flag-value"
   143          >
   144            <span
   145              dangerouslySetInnerHTML={
   146                Object {
   147                  "__html": "10000",
   148                }
   149              }
   150            />
   151          </td>
   152        </tr>
   153        <tr
   154          key="--alertmanager.timeout"
   155        >
   156          <td
   157            className="flag-item"
   158          >
   159            <span
   160              dangerouslySetInnerHTML={
   161                Object {
   162                  "__html": "--alertmanager.timeout",
   163                }
   164              }
   165            />
   166          </td>
   167          <td
   168            className="flag-value"
   169          >
   170            <span
   171              dangerouslySetInnerHTML={
   172                Object {
   173                  "__html": "10s",
   174                }
   175              }
   176            />
   177          </td>
   178        </tr>
   179        <tr
   180          key="--config.file"
   181        >
   182          <td
   183            className="flag-item"
   184          >
   185            <span
   186              dangerouslySetInnerHTML={
   187                Object {
   188                  "__html": "--config.file",
   189                }
   190              }
   191            />
   192          </td>
   193          <td
   194            className="flag-value"
   195          >
   196            <span
   197              dangerouslySetInnerHTML={
   198                Object {
   199                  "__html": "./documentation/examples/prometheus.yml",
   200                }
   201              }
   202            />
   203          </td>
   204        </tr>
   205        <tr
   206          key="--log.format"
   207        >
   208          <td
   209            className="flag-item"
   210          >
   211            <span
   212              dangerouslySetInnerHTML={
   213                Object {
   214                  "__html": "--log.format",
   215                }
   216              }
   217            />
   218          </td>
   219          <td
   220            className="flag-value"
   221          >
   222            <span
   223              dangerouslySetInnerHTML={
   224                Object {
   225                  "__html": "logfmt",
   226                }
   227              }
   228            />
   229          </td>
   230        </tr>
   231        <tr
   232          key="--log.level"
   233        >
   234          <td
   235            className="flag-item"
   236          >
   237            <span
   238              dangerouslySetInnerHTML={
   239                Object {
   240                  "__html": "--log.level",
   241                }
   242              }
   243            />
   244          </td>
   245          <td
   246            className="flag-value"
   247          >
   248            <span
   249              dangerouslySetInnerHTML={
   250                Object {
   251                  "__html": "info",
   252                }
   253              }
   254            />
   255          </td>
   256        </tr>
   257        <tr
   258          key="--query.lookback-delta"
   259        >
   260          <td
   261            className="flag-item"
   262          >
   263            <span
   264              dangerouslySetInnerHTML={
   265                Object {
   266                  "__html": "--query.lookback-delta",
   267                }
   268              }
   269            />
   270          </td>
   271          <td
   272            className="flag-value"
   273          >
   274            <span
   275              dangerouslySetInnerHTML={
   276                Object {
   277                  "__html": "5m",
   278                }
   279              }
   280            />
   281          </td>
   282        </tr>
   283        <tr
   284          key="--query.max-concurrency"
   285        >
   286          <td
   287            className="flag-item"
   288          >
   289            <span
   290              dangerouslySetInnerHTML={
   291                Object {
   292                  "__html": "--query.max-concurrency",
   293                }
   294              }
   295            />
   296          </td>
   297          <td
   298            className="flag-value"
   299          >
   300            <span
   301              dangerouslySetInnerHTML={
   302                Object {
   303                  "__html": "20",
   304                }
   305              }
   306            />
   307          </td>
   308        </tr>
   309        <tr
   310          key="--query.max-samples"
   311        >
   312          <td
   313            className="flag-item"
   314          >
   315            <span
   316              dangerouslySetInnerHTML={
   317                Object {
   318                  "__html": "--query.max-samples",
   319                }
   320              }
   321            />
   322          </td>
   323          <td
   324            className="flag-value"
   325          >
   326            <span
   327              dangerouslySetInnerHTML={
   328                Object {
   329                  "__html": "50000000",
   330                }
   331              }
   332            />
   333          </td>
   334        </tr>
   335        <tr
   336          key="--query.timeout"
   337        >
   338          <td
   339            className="flag-item"
   340          >
   341            <span
   342              dangerouslySetInnerHTML={
   343                Object {
   344                  "__html": "--query.timeout",
   345                }
   346              }
   347            />
   348          </td>
   349          <td
   350            className="flag-value"
   351          >
   352            <span
   353              dangerouslySetInnerHTML={
   354                Object {
   355                  "__html": "2m",
   356                }
   357              }
   358            />
   359          </td>
   360        </tr>
   361        <tr
   362          key="--rules.alert.for-grace-period"
   363        >
   364          <td
   365            className="flag-item"
   366          >
   367            <span
   368              dangerouslySetInnerHTML={
   369                Object {
   370                  "__html": "--rules.alert.for-grace-period",
   371                }
   372              }
   373            />
   374          </td>
   375          <td
   376            className="flag-value"
   377          >
   378            <span
   379              dangerouslySetInnerHTML={
   380                Object {
   381                  "__html": "10m",
   382                }
   383              }
   384            />
   385          </td>
   386        </tr>
   387        <tr
   388          key="--rules.alert.for-outage-tolerance"
   389        >
   390          <td
   391            className="flag-item"
   392          >
   393            <span
   394              dangerouslySetInnerHTML={
   395                Object {
   396                  "__html": "--rules.alert.for-outage-tolerance",
   397                }
   398              }
   399            />
   400          </td>
   401          <td
   402            className="flag-value"
   403          >
   404            <span
   405              dangerouslySetInnerHTML={
   406                Object {
   407                  "__html": "1h",
   408                }
   409              }
   410            />
   411          </td>
   412        </tr>
   413        <tr
   414          key="--rules.alert.resend-delay"
   415        >
   416          <td
   417            className="flag-item"
   418          >
   419            <span
   420              dangerouslySetInnerHTML={
   421                Object {
   422                  "__html": "--rules.alert.resend-delay",
   423                }
   424              }
   425            />
   426          </td>
   427          <td
   428            className="flag-value"
   429          >
   430            <span
   431              dangerouslySetInnerHTML={
   432                Object {
   433                  "__html": "1m",
   434                }
   435              }
   436            />
   437          </td>
   438        </tr>
   439        <tr
   440          key="--storage.remote.flush-deadline"
   441        >
   442          <td
   443            className="flag-item"
   444          >
   445            <span
   446              dangerouslySetInnerHTML={
   447                Object {
   448                  "__html": "--storage.remote.flush-deadline",
   449                }
   450              }
   451            />
   452          </td>
   453          <td
   454            className="flag-value"
   455          >
   456            <span
   457              dangerouslySetInnerHTML={
   458                Object {
   459                  "__html": "1m",
   460                }
   461              }
   462            />
   463          </td>
   464        </tr>
   465        <tr
   466          key="--storage.remote.read-concurrent-limit"
   467        >
   468          <td
   469            className="flag-item"
   470          >
   471            <span
   472              dangerouslySetInnerHTML={
   473                Object {
   474                  "__html": "--storage.remote.read-concurrent-limit",
   475                }
   476              }
   477            />
   478          </td>
   479          <td
   480            className="flag-value"
   481          >
   482            <span
   483              dangerouslySetInnerHTML={
   484                Object {
   485                  "__html": "10",
   486                }
   487              }
   488            />
   489          </td>
   490        </tr>
   491        <tr
   492          key="--storage.remote.read-max-bytes-in-frame"
   493        >
   494          <td
   495            className="flag-item"
   496          >
   497            <span
   498              dangerouslySetInnerHTML={
   499                Object {
   500                  "__html": "--storage.remote.read-max-bytes-in-frame",
   501                }
   502              }
   503            />
   504          </td>
   505          <td
   506            className="flag-value"
   507          >
   508            <span
   509              dangerouslySetInnerHTML={
   510                Object {
   511                  "__html": "1048576",
   512                }
   513              }
   514            />
   515          </td>
   516        </tr>
   517        <tr
   518          key="--storage.remote.read-sample-limit"
   519        >
   520          <td
   521            className="flag-item"
   522          >
   523            <span
   524              dangerouslySetInnerHTML={
   525                Object {
   526                  "__html": "--storage.remote.read-sample-limit",
   527                }
   528              }
   529            />
   530          </td>
   531          <td
   532            className="flag-value"
   533          >
   534            <span
   535              dangerouslySetInnerHTML={
   536                Object {
   537                  "__html": "50000000",
   538                }
   539              }
   540            />
   541          </td>
   542        </tr>
   543        <tr
   544          key="--storage.tsdb.allow-overlapping-blocks"
   545        >
   546          <td
   547            className="flag-item"
   548          >
   549            <span
   550              dangerouslySetInnerHTML={
   551                Object {
   552                  "__html": "--storage.tsdb.allow-overlapping-blocks",
   553                }
   554              }
   555            />
   556          </td>
   557          <td
   558            className="flag-value"
   559          >
   560            <span
   561              dangerouslySetInnerHTML={
   562                Object {
   563                  "__html": "false",
   564                }
   565              }
   566            />
   567          </td>
   568        </tr>
   569        <tr
   570          key="--storage.tsdb.max-block-duration"
   571        >
   572          <td
   573            className="flag-item"
   574          >
   575            <span
   576              dangerouslySetInnerHTML={
   577                Object {
   578                  "__html": "--storage.tsdb.max-block-duration",
   579                }
   580              }
   581            />
   582          </td>
   583          <td
   584            className="flag-value"
   585          >
   586            <span
   587              dangerouslySetInnerHTML={
   588                Object {
   589                  "__html": "36h",
   590                }
   591              }
   592            />
   593          </td>
   594        </tr>
   595        <tr
   596          key="--storage.tsdb.min-block-duration"
   597        >
   598          <td
   599            className="flag-item"
   600          >
   601            <span
   602              dangerouslySetInnerHTML={
   603                Object {
   604                  "__html": "--storage.tsdb.min-block-duration",
   605                }
   606              }
   607            />
   608          </td>
   609          <td
   610            className="flag-value"
   611          >
   612            <span
   613              dangerouslySetInnerHTML={
   614                Object {
   615                  "__html": "2h",
   616                }
   617              }
   618            />
   619          </td>
   620        </tr>
   621        <tr
   622          key="--storage.tsdb.no-lockfile"
   623        >
   624          <td
   625            className="flag-item"
   626          >
   627            <span
   628              dangerouslySetInnerHTML={
   629                Object {
   630                  "__html": "--storage.tsdb.no-lockfile",
   631                }
   632              }
   633            />
   634          </td>
   635          <td
   636            className="flag-value"
   637          >
   638            <span
   639              dangerouslySetInnerHTML={
   640                Object {
   641                  "__html": "false",
   642                }
   643              }
   644            />
   645          </td>
   646        </tr>
   647        <tr
   648          key="--storage.tsdb.path"
   649        >
   650          <td
   651            className="flag-item"
   652          >
   653            <span
   654              dangerouslySetInnerHTML={
   655                Object {
   656                  "__html": "--storage.tsdb.path",
   657                }
   658              }
   659            />
   660          </td>
   661          <td
   662            className="flag-value"
   663          >
   664            <span
   665              dangerouslySetInnerHTML={
   666                Object {
   667                  "__html": "data/",
   668                }
   669              }
   670            />
   671          </td>
   672        </tr>
   673        <tr
   674          key="--storage.tsdb.retention"
   675        >
   676          <td
   677            className="flag-item"
   678          >
   679            <span
   680              dangerouslySetInnerHTML={
   681                Object {
   682                  "__html": "--storage.tsdb.retention",
   683                }
   684              }
   685            />
   686          </td>
   687          <td
   688            className="flag-value"
   689          >
   690            <span
   691              dangerouslySetInnerHTML={
   692                Object {
   693                  "__html": "0s",
   694                }
   695              }
   696            />
   697          </td>
   698        </tr>
   699        <tr
   700          key="--storage.tsdb.retention.size"
   701        >
   702          <td
   703            className="flag-item"
   704          >
   705            <span
   706              dangerouslySetInnerHTML={
   707                Object {
   708                  "__html": "--storage.tsdb.retention.size",
   709                }
   710              }
   711            />
   712          </td>
   713          <td
   714            className="flag-value"
   715          >
   716            <span
   717              dangerouslySetInnerHTML={
   718                Object {
   719                  "__html": "0B",
   720                }
   721              }
   722            />
   723          </td>
   724        </tr>
   725        <tr
   726          key="--storage.tsdb.retention.time"
   727        >
   728          <td
   729            className="flag-item"
   730          >
   731            <span
   732              dangerouslySetInnerHTML={
   733                Object {
   734                  "__html": "--storage.tsdb.retention.time",
   735                }
   736              }
   737            />
   738          </td>
   739          <td
   740            className="flag-value"
   741          >
   742            <span
   743              dangerouslySetInnerHTML={
   744                Object {
   745                  "__html": "0s",
   746                }
   747              }
   748            />
   749          </td>
   750        </tr>
   751        <tr
   752          key="--storage.tsdb.wal-compression"
   753        >
   754          <td
   755            className="flag-item"
   756          >
   757            <span
   758              dangerouslySetInnerHTML={
   759                Object {
   760                  "__html": "--storage.tsdb.wal-compression",
   761                }
   762              }
   763            />
   764          </td>
   765          <td
   766            className="flag-value"
   767          >
   768            <span
   769              dangerouslySetInnerHTML={
   770                Object {
   771                  "__html": "false",
   772                }
   773              }
   774            />
   775          </td>
   776        </tr>
   777        <tr
   778          key="--storage.tsdb.wal-segment-size"
   779        >
   780          <td
   781            className="flag-item"
   782          >
   783            <span
   784              dangerouslySetInnerHTML={
   785                Object {
   786                  "__html": "--storage.tsdb.wal-segment-size",
   787                }
   788              }
   789            />
   790          </td>
   791          <td
   792            className="flag-value"
   793          >
   794            <span
   795              dangerouslySetInnerHTML={
   796                Object {
   797                  "__html": "0B",
   798                }
   799              }
   800            />
   801          </td>
   802        </tr>
   803        <tr
   804          key="--web.console.libraries"
   805        >
   806          <td
   807            className="flag-item"
   808          >
   809            <span
   810              dangerouslySetInnerHTML={
   811                Object {
   812                  "__html": "--web.console.libraries",
   813                }
   814              }
   815            />
   816          </td>
   817          <td
   818            className="flag-value"
   819          >
   820            <span
   821              dangerouslySetInnerHTML={
   822                Object {
   823                  "__html": "console_libraries",
   824                }
   825              }
   826            />
   827          </td>
   828        </tr>
   829        <tr
   830          key="--web.console.templates"
   831        >
   832          <td
   833            className="flag-item"
   834          >
   835            <span
   836              dangerouslySetInnerHTML={
   837                Object {
   838                  "__html": "--web.console.templates",
   839                }
   840              }
   841            />
   842          </td>
   843          <td
   844            className="flag-value"
   845          >
   846            <span
   847              dangerouslySetInnerHTML={
   848                Object {
   849                  "__html": "consoles",
   850                }
   851              }
   852            />
   853          </td>
   854        </tr>
   855        <tr
   856          key="--web.cors.origin"
   857        >
   858          <td
   859            className="flag-item"
   860          >
   861            <span
   862              dangerouslySetInnerHTML={
   863                Object {
   864                  "__html": "--web.cors.origin",
   865                }
   866              }
   867            />
   868          </td>
   869          <td
   870            className="flag-value"
   871          >
   872            <span
   873              dangerouslySetInnerHTML={
   874                Object {
   875                  "__html": ".*",
   876                }
   877              }
   878            />
   879          </td>
   880        </tr>
   881        <tr
   882          key="--web.enable-admin-api"
   883        >
   884          <td
   885            className="flag-item"
   886          >
   887            <span
   888              dangerouslySetInnerHTML={
   889                Object {
   890                  "__html": "--web.enable-admin-api",
   891                }
   892              }
   893            />
   894          </td>
   895          <td
   896            className="flag-value"
   897          >
   898            <span
   899              dangerouslySetInnerHTML={
   900                Object {
   901                  "__html": "false",
   902                }
   903              }
   904            />
   905          </td>
   906        </tr>
   907        <tr
   908          key="--web.enable-lifecycle"
   909        >
   910          <td
   911            className="flag-item"
   912          >
   913            <span
   914              dangerouslySetInnerHTML={
   915                Object {
   916                  "__html": "--web.enable-lifecycle",
   917                }
   918              }
   919            />
   920          </td>
   921          <td
   922            className="flag-value"
   923          >
   924            <span
   925              dangerouslySetInnerHTML={
   926                Object {
   927                  "__html": "false",
   928                }
   929              }
   930            />
   931          </td>
   932        </tr>
   933        <tr
   934          key="--web.external-url"
   935        >
   936          <td
   937            className="flag-item"
   938          >
   939            <span
   940              dangerouslySetInnerHTML={
   941                Object {
   942                  "__html": "--web.external-url",
   943                }
   944              }
   945            />
   946          </td>
   947          <td
   948            className="flag-value"
   949          >
   950            <span
   951              dangerouslySetInnerHTML={
   952                Object {
   953                  "__html": "",
   954                }
   955              }
   956            />
   957          </td>
   958        </tr>
   959        <tr
   960          key="--web.listen-address"
   961        >
   962          <td
   963            className="flag-item"
   964          >
   965            <span
   966              dangerouslySetInnerHTML={
   967                Object {
   968                  "__html": "--web.listen-address",
   969                }
   970              }
   971            />
   972          </td>
   973          <td
   974            className="flag-value"
   975          >
   976            <span
   977              dangerouslySetInnerHTML={
   978                Object {
   979                  "__html": "0.0.0.0:9090",
   980                }
   981              }
   982            />
   983          </td>
   984        </tr>
   985        <tr
   986          key="--web.max-connections"
   987        >
   988          <td
   989            className="flag-item"
   990          >
   991            <span
   992              dangerouslySetInnerHTML={
   993                Object {
   994                  "__html": "--web.max-connections",
   995                }
   996              }
   997            />
   998          </td>
   999          <td
  1000            className="flag-value"
  1001          >
  1002            <span
  1003              dangerouslySetInnerHTML={
  1004                Object {
  1005                  "__html": "512",
  1006                }
  1007              }
  1008            />
  1009          </td>
  1010        </tr>
  1011        <tr
  1012          key="--web.page-title"
  1013        >
  1014          <td
  1015            className="flag-item"
  1016          >
  1017            <span
  1018              dangerouslySetInnerHTML={
  1019                Object {
  1020                  "__html": "--web.page-title",
  1021                }
  1022              }
  1023            />
  1024          </td>
  1025          <td
  1026            className="flag-value"
  1027          >
  1028            <span
  1029              dangerouslySetInnerHTML={
  1030                Object {
  1031                  "__html": "Prometheus Time Series Collection and Processing Server",
  1032                }
  1033              }
  1034            />
  1035          </td>
  1036        </tr>
  1037        <tr
  1038          key="--web.read-timeout"
  1039        >
  1040          <td
  1041            className="flag-item"
  1042          >
  1043            <span
  1044              dangerouslySetInnerHTML={
  1045                Object {
  1046                  "__html": "--web.read-timeout",
  1047                }
  1048              }
  1049            />
  1050          </td>
  1051          <td
  1052            className="flag-value"
  1053          >
  1054            <span
  1055              dangerouslySetInnerHTML={
  1056                Object {
  1057                  "__html": "5m",
  1058                }
  1059              }
  1060            />
  1061          </td>
  1062        </tr>
  1063        <tr
  1064          key="--web.route-prefix"
  1065        >
  1066          <td
  1067            className="flag-item"
  1068          >
  1069            <span
  1070              dangerouslySetInnerHTML={
  1071                Object {
  1072                  "__html": "--web.route-prefix",
  1073                }
  1074              }
  1075            />
  1076          </td>
  1077          <td
  1078            className="flag-value"
  1079          >
  1080            <span
  1081              dangerouslySetInnerHTML={
  1082                Object {
  1083                  "__html": "/",
  1084                }
  1085              }
  1086            />
  1087          </td>
  1088        </tr>
  1089        <tr
  1090          key="--web.user-assets"
  1091        >
  1092          <td
  1093            className="flag-item"
  1094          >
  1095            <span
  1096              dangerouslySetInnerHTML={
  1097                Object {
  1098                  "__html": "--web.user-assets",
  1099                }
  1100              }
  1101            />
  1102          </td>
  1103          <td
  1104            className="flag-value"
  1105          >
  1106            <span
  1107              dangerouslySetInnerHTML={
  1108                Object {
  1109                  "__html": "",
  1110                }
  1111              }
  1112            />
  1113          </td>
  1114        </tr>
  1115      </tbody>
  1116    </Table>
  1117  </Fragment>
  1118  `;