1. 07 1月, 2016 1 次提交
  2. 05 1月, 2016 2 次提交
  3. 04 1月, 2016 7 次提交
  4. 02 1月, 2016 1 次提交
  5. 01 1月, 2016 4 次提交
    • Y
      Removed tracking of hostnames for metrics · cafc784e
      Yorick Peterse 提交于
      This isn't hugely useful and mostly wastes InfluxDB space. We can re-add
      this whenever needed (but only once we really need it).
      cafc784e
    • Y
      Use separate series for Rails/Sidekiq transactions · bd9f86bb
      Yorick Peterse 提交于
      This removes the need for tagging all metrics with a "process_type" tag.
      bd9f86bb
    • Y
      Cache InfluxDB settings after the first use · 55ed6e1c
      Yorick Peterse 提交于
      This ensures we don't need to load anything from either PostgreSQL or
      the Rails cache whenever creating new InfluxDB connections.
      55ed6e1c
    • Y
      Removed tracking of raw SQL queries · a6c60127
      Yorick Peterse 提交于
      This particular setup had 3 problems:
      
      1. Storing SQL queries as tags is very inefficient as InfluxDB ends up
         indexing every query (and they can get pretty large). Storing these
         as values instead means we can't always display the SQL as easily.
      2. We already instrument ActiveRecord query methods, thus we already
         have timing information about database queries.
      3. SQL obfuscation is difficult to get right and I'd rather not expose
         sensitive data by accident.
      a6c60127
  6. 31 12月, 2015 5 次提交
    • Y
      Optimize CSS expressions produced by Nokogiri · 054df415
      Yorick Peterse 提交于
      Nokogiri produces inefficient XPath expressions when given CSS
      expressions such as "a.gfm". Luckily these expressions can be optimized
      quite easily while still achieving the same results.
      
      In the two cases where this optimization is applied the run time has
      been reduced from around 170 ms to around 15 ms.
      054df415
    • Y
      Don't use delegate to delegate trivial methods · d3951dfa
      Yorick Peterse 提交于
      Around 300 ms (in total) would be spent in these delegated methods due
      to the extra stuff ActiveSupport adds to the compiled methods. Because
      these delegations are so simple we can just manually define the methods,
      saving around 275 milliseconds.
      d3951dfa
    • Y
      Use XPath for searching link nodes · 3077cb52
      Yorick Peterse 提交于
      This is a tad faster than letting Nokogiri figure out whether it should
      evaluate the query as CSS or XPath and then actually evaluating it.
      3077cb52
    • Y
      Removed various default metrics tags · c936e4e3
      Yorick Peterse 提交于
      While it's useful to keep track of the different versions (Ruby, GitLab,
      etc) doing so for every point wastes disk space and possibly also RAM
      (which InfluxDB is all to eager to gobble up). If we want to see the
      performance differences between different GitLab versions simply looking
      at the performance since the last release date should suffice.
      c936e4e3
    • D
  7. 29 12月, 2015 6 次提交
  8. 28 12月, 2015 3 次提交
  9. 25 12月, 2015 1 次提交
  10. 24 12月, 2015 5 次提交
  11. 23 12月, 2015 5 次提交