<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Prometheus on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</title>
    <link>https://move.cyber-neurones.org/tags/prometheus/</link>
    <description>Recent content in Prometheus on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Mon, 18 Nov 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://move.cyber-neurones.org/tags/prometheus/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Installation de Prometheus sur MacOS</title>
      <link>https://move.cyber-neurones.org/post/2019/11/2019-11-18-installation-de-prometheus-sur-macos/</link>
      <pubDate>Mon, 18 Nov 2019 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2019/11/2019-11-18-installation-de-prometheus-sur-macos/</guid>
      <description>&lt;p&gt;Ma version de MacOS :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ uname -a&#xA;Darwin MacBook.local 19.0.0 Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 x86_64&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Mise à jours de brew ( en mode &lt;strong&gt;verbose&lt;/strong&gt; afin d’avoir plus d’information ) :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ brew update -v &#xA;...&#xA;$ brew -v&#xA;Homebrew 2.1.16&#xA;Homebrew/homebrew-core (git revision 00c2c; last commit 2019-11-18)&#xA;Homebrew/homebrew-cask (git revision 9e283; last commit 2019-11-18)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Début de l&amp;rsquo;installation :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ brew install prometheus&#xA;Updating Homebrew...&#xA;==&amp;gt; Auto-updated Homebrew!&#xA;Updated 2 taps (homebrew/core and homebrew/cask).&#xA;==&amp;gt; New Formulae&#xA;mysql-client@5.7&#xA;==&amp;gt; Updated Formulae&#xA;awsume                       innotop                      manticoresearch              mysql-client                 mytop                        percona-xtrabackup&#xA;hydra                        kitchen-sync                 mydumper                     mysql-connector-c++          ntopng                       sysbench&#xA;imagemagick                  libzdb                       mysql++                      mysql-connector-c++@1.1      percona-toolkit              vala&#xA;==&amp;gt; Deleted Formulae&#xA;mysql-connector-c&#xA;&#xA;==&amp;gt; Downloading https://homebrew.bintray.com/bottles/prometheus-2.13.1.catalina.bottle.tar.gz&#xA;==&amp;gt; Downloading from https://akamai.bintray.com/85/....&#xA;############################################################# 100.0%&#xA;==&amp;gt; Pouring prometheus-2.13.1.catalina.bottle.tar.gz&#xA;==&amp;gt; Caveats&#xA;When used with `brew services`, prometheus&amp;#39; configuration is stored as command line flags in&#xA;  /usr/local/etc/prometheus.args&#xA;&#xA;Example configuration:&#xA;  echo &amp;#34;--config.file ~/.config/prometheus.yml&amp;#34; &amp;gt; /usr/local/etc/prometheus.args&#xA;&#xA;To have launchd start prometheus now and restart at login:&#xA;  brew services start prometheus&#xA;Or, if you don&amp;#39;t want/need a background service you can just run:&#xA;  prometheus&#xA;==&amp;gt; Summary&#xA;?  /usr/local/Cellar/prometheus/2.13.1: 18 files, 119.3MB&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Lancement du service :&lt;/p&gt;</description>
    </item>
    <item>
      <title>MacOS : Prometheus : Failed to create directory for logging active queries</title>
      <link>https://move.cyber-neurones.org/post/2019/11/2019-11-18-macos-prometheus-failed-to-create-directory-for-logging-active-queries/</link>
      <pubDate>Mon, 18 Nov 2019 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2019/11/2019-11-18-macos-prometheus-failed-to-create-directory-for-logging-active-queries/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai pu voir que cela ne se lançait pas dans /usr/local/var/log/prometheus.err.log, sans arrêt j&amp;rsquo;ai l&amp;rsquo;erreur :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;component=activeQueryTracker msg=&amp;#34;Failed to create directory for logging active queries&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai donc modifié le fichier &lt;strong&gt;/usr/local/Cellar/prometheus/2.13.1/homebrew.mxcl.prometheus.plist&lt;/strong&gt; et pas le fichier  /Users/XXXXXX/Library/LaunchAgents/homebrew.mxcl.prometheus.plist (inutile)&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;UTF-8&amp;#34;?&amp;gt;&#xA;  &amp;lt;!DOCTYPE plist PUBLIC &amp;#34;-//Apple//DTD PLIST 1.0//EN&amp;#34; &amp;#34;http://www.apple.com/DTDs/PropertyList-1.0.dtd&amp;#34;&amp;gt;&#xA;  &amp;lt;plist version=&amp;#34;1.0&amp;#34;&amp;gt;&#xA;  &amp;lt;dict&amp;gt;&#xA;    &amp;lt;key&amp;gt;Label&amp;lt;/key&amp;gt;&#xA;    &amp;lt;string&amp;gt;homebrew.mxcl.prometheus&amp;lt;/string&amp;gt;&#xA;    &amp;lt;key&amp;gt;ProgramArguments&amp;lt;/key&amp;gt;&#xA;    &amp;lt;array&amp;gt;&#xA;      &amp;lt;string&amp;gt;sh&amp;lt;/string&amp;gt;&#xA;      &amp;lt;string&amp;gt;-c&amp;lt;/string&amp;gt;&#xA;      &amp;lt;string&amp;gt;/usr/local/opt/prometheus/bin/prometheus $(&amp;amp;lt; /usr/local/etc/prometheus.args)&amp;lt;/string&amp;gt;&#xA;    &amp;lt;/array&amp;gt;&#xA;    &amp;lt;key&amp;gt;RunAtLoad&amp;lt;/key&amp;gt;&#xA;    &amp;lt;true/&amp;gt;&#xA;    &amp;lt;key&amp;gt;KeepAlive&amp;lt;/key&amp;gt;&#xA;    &amp;lt;false/&amp;gt;&#xA;    &amp;lt;key&amp;gt;WorkingDirectory&amp;lt;/key&amp;gt;&#xA;    &amp;lt;string&amp;gt;/usr/local/opt/prometheus&amp;lt;/string&amp;gt;&#xA;    &amp;lt;key&amp;gt;StandardErrorPath&amp;lt;/key&amp;gt;&#xA;    &amp;lt;string&amp;gt;/usr/local/var/log/prometheus.err.log&amp;lt;/string&amp;gt;&#xA;    &amp;lt;key&amp;gt;StandardOutPath&amp;lt;/key&amp;gt;&#xA;    &amp;lt;string&amp;gt;/usr/local/var/log/prometheus.log&amp;lt;/string&amp;gt;&#xA;  &amp;lt;/dict&amp;gt;&#xA;&amp;lt;/plist&amp;gt;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Je relance :&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
