Commits on Mar 18, 2022

  1. Check for existance of keys in dict

    This commit adds a check for the 'error' key in the json object and
    skips the file if so.  It also checks for a couple of keys that may or
    may not be present depending on the configuration.
    m0dular committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    933e934 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. Configuration menu
    Copy the full SHA
    3ed63f3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #27 from puppetlabs/readme-token-update

    Document the evaluation order of the Telegraf token
    MartyEwings authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    1ea5f41 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #26 from puppetlabs/starlark-validation

    Check for existance of keys in dict
    MartyEwings authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    2accc26 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Fix handling of 'error' entry in dict

    Prior to this commit, the error checking was too aggressive and resulted
    in emitting no metrics from PDB json files.  This is because the 'error'
    object is always in the result and we need to check the length of its
    values.
    m0dular committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    6991cc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f90843 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Merge pull request #28 from puppetlabs/fix-pdb-error-handling

    Fix handling of 'error' entry in dict
    MartyEwings authored Apr 5, 2022
    Configuration menu
    Copy the full SHA
    d8ea7d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. (SUP-3201) Make Grafana datasource idempotent

    Prior to this commit, using the grafana_datasource resource with "secure
    json" parameters was not idempotent.  This is because the api obfuscates
    these values, so we can't check the state of the datasource using this
    resource.
    
    This commit uses the "provisioning" directory to set the datasource at
    service startup.  It uses a template to create the file so the token can
    be a Sensitive type and be redacted from logs and reports.
    
    It also adds an exec to make sure Grafana is ready to accept
    connections.
    m0dular committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    52f317a View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. (SUP-3209) Grant pg_monitor role to telegraf

    Prior to this commit, we did not create a postgres role for telegraf or
    grant it any permissions.  This add two pe_postgresql_psql resources to
    accomplish this.
    m0dular committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    8d2f850 View commit details
    Browse the repository at this point in the history
  2. linting

    m0dular committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    9034274 View commit details
    Browse the repository at this point in the history
  3. Give LOGIN to telegraf role

    m0dular committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    d4375ea View commit details
    Browse the repository at this point in the history
  4. Allow telegraf to connect to pe-puppetdb

    This is required due to this from the posgres docs:
    
    To connect to a particular database, a user must not only pass the
    pg_hba.conf checks, but must have the CONNECT privilege for the database
    m0dular committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    26a2aeb View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    0449684 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Merge pull request #30 from puppetlabs/SUP-3201-idempotent-datasource

    (SUP-3201) Make Grafana datasource idempotent
    m0dular authored Apr 21, 2022
    Configuration menu
    Copy the full SHA
    b695fd9 View commit details
    Browse the repository at this point in the history
  2. (SUP-3201) Accept any Sensitive value in template

    Prior to this commit, $token was declared as a Sensitive[String], but we
    may recieve an Undef value if the token was created in the current
    catalog application.  This commit accepts any Sensitive value to account
    for this.
    m0dular committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    424ec35 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. Merge pull request #32 from puppetlabs/SUP-3201-idempotent-datasource

    (SUP-3201) Accept any Sensitive value in template
    MartyEwings authored Apr 22, 2022
    Configuration menu
    Copy the full SHA
    5e81c4d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #31 from puppetlabs/SUP-3209-telegraf-grant

    (SUP-3209) Grant pg_monitor role to telegraf
    MartyEwings authored Apr 22, 2022
    Configuration menu
    Copy the full SHA
    006b96c View commit details
    Browse the repository at this point in the history
  3. add testing fixtures

    MartyEwings committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    c6fae5a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf55e06 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fafd011 View commit details
    Browse the repository at this point in the history
  6. Add pe-puppetserver and toml-rb before acceptance tests

    Prior to this commit, the acceptance test setup was failing to apply the
    influxdb::profile::toml class as it requires the pe-puppetserver
    service. It also needed the toml-rb to be installed in the puppet gem
    space. This commit adds the pe-puppetserver service resource to the
    puppet apply and includes the toml-rb gem for puppet_gem.
    Jarret Lavallee authored and MartyEwings committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    ccc9b7d View commit details
    Browse the repository at this point in the history
  7. Allow changes in the acceptance test runs

    Prior to this commit, the puppet apply statements in the acceptance
    tests expected a failure. This commit changes it to allow for changes or
    no changes on the applies.
    Jarret Lavallee authored and MartyEwings committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    9831fd8 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #25 from MartyEwings/fixtures

    Enable Acceptance Testing
    MartyEwings authored Apr 22, 2022
    Configuration menu
    Copy the full SHA
    d56700d View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. (SUP-3201) Check port availability with systemd

    Prior to this commit, we used an exec resource to check if the grafana
    service were ready to receive connections.  However, this didn't account
    for initial provisioning, and it's a bit of a hack.  This commit uses an
    ExecStartPost directive instead, which is better because it allows us to
    use metaparameters like 'require' directly on the service.
    m0dular authored and MartyEwings committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    a686dde View commit details
    Browse the repository at this point in the history
  2. Merge pull request #33 from puppetlabs/SUP-3201-idempotent-datasource

    (SUP-3201) Check port availability with systemd
    MartyEwings authored Apr 25, 2022
    Configuration menu
    Copy the full SHA
    e9a9fde View commit details
    Browse the repository at this point in the history
  3. Fix Ubuntu compatibility

    MartyEwings committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    183d4d7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #35 from MartyEwings/ubuntu-fix

    (SUP-3228) Fix Ubuntu compatibility issue
    elainemccloskey authored Apr 25, 2022
    Configuration menu
    Copy the full SHA
    8dee8e3 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Configuration menu
    Copy the full SHA
    9ef7988 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #37 from MartyEwings/ordering

    make resource ordering specific to install class
    MartyEwings authored Apr 27, 2022
    Configuration menu
    Copy the full SHA
    ac751bd View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    91cf714 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #36 from MartyEwings/SUP-3061

    (SUP-3061) Install class for ent infrastructure agents
    m0dular authored Apr 28, 2022
    Configuration menu
    Copy the full SHA
    272bfed View commit details
    Browse the repository at this point in the history
  3. (SUP-3235) Use latest telegraf package on Ubuntu

    Prior to this commit, Ubuntu provisioning would fail if the latest
    telegraf package were newer than the $version parameter.  This looks to
    be because only the latest package is available in the Ubuntu repo.
    This commit changes the ensure property to be 'latest' on Ubuntu, and
    changes the archive url to use the $version parameter.
    m0dular committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    f9d8f4b View commit details
    Browse the repository at this point in the history
  4. Move selector to $version class parameter

    Also, re-add the no-lookup_in_parameter check to disabled lint checks.
    m0dular committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    6cd047d View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. Configuration menu
    Copy the full SHA
    742823a View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Merge pull request #41 from puppetlabs/update-bucket-example

    Update example to read token from disk
    m0dular authored May 3, 2022
    Configuration menu
    Copy the full SHA
    eb5bcf2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #38 from puppetlabs/SUP-3235-ubuntu-version

    (SUP-3235) Use latest telegraf package on Ubuntu
    m0dular authored May 3, 2022
    Configuration menu
    Copy the full SHA
    8ad9160 View commit details
    Browse the repository at this point in the history
  3. (SUP-3243) Add index stats for pe-puppetdb tables

    This commit adds an additional query to the postgres plugin to select
    index statistics for tables in the pe-puppetdb database.
    
    It also adds the datname of the current database, which fixes a bug
    where we were emitting metrics with a tag of 'postgres', because that is
    the default database.
    m0dular committed May 3, 2022
    Configuration menu
    Copy the full SHA
    b7d66f7 View commit details
    Browse the repository at this point in the history
  4. Get table, index, and toast sizes in one query

    This commit uses an example query from the postgres docs to get sizes
    for all relation types in one query.  It also updates the dashboard to
      display this data.
    m0dular committed May 3, 2022
    Configuration menu
    Copy the full SHA
    efcaa5c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #40 from puppetlabs/SUP-3243-index-stats

    (SUP-3243) Add index stats for pe-puppetdb tables
    m0dular authored May 3, 2022
    Configuration menu
    Copy the full SHA
    6e49463 View commit details
    Browse the repository at this point in the history
  6. Add panels for PDB read and write pools

    This commit also fixes an issue with the queue_depth metrics, which
    comes from the /v1/status endpoint.
    m0dular committed May 3, 2022
    Configuration menu
    Copy the full SHA
    13076ff View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Merge pull request #42 from puppetlabs/connection-pool-panels

    Add panels for PDB read and write pools
    m0dular authored May 4, 2022
    Configuration menu
    Copy the full SHA
    4713848 View commit details
    Browse the repository at this point in the history
  2. Display all http client and function metrics

    This commit changes these two panels to group by the name of the
    function and http-client metric, thereby displaying all of them.  The
    function counts now also use non_negative_difference over the time
    interval, since this is a cumulative total.
    m0dular committed May 4, 2022
    Configuration menu
    Copy the full SHA
    05f45ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f1ccb8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7cee44e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #43 from puppetlabs/update-http-function-panels

    Display all http client and function metrics
    m0dular authored May 4, 2022
    Configuration menu
    Copy the full SHA
    22df9f2 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #39 from MartyEwings/Docs

    (SUP-3241) Add in Dashboard documentation
    MartyEwings authored May 4, 2022
    Configuration menu
    Copy the full SHA
    bbde846 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ea8b83c View commit details
    Browse the repository at this point in the history
  8. Merge pull request #44 from puppetlabs/bump-influx-dep

    Bump influxdb dependency to 1.0
    m0dular authored May 4, 2022
    Configuration menu
    Copy the full SHA
    91301eb View commit details
    Browse the repository at this point in the history
  9. Release prep v1.0.0

    GitHub Action committed May 4, 2022
    Configuration menu
    Copy the full SHA
    b8c2894 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #45 from puppetlabs/release-prep

    Release prep v1.0.0
    m0dular authored May 4, 2022
    Configuration menu
    Copy the full SHA
    9eb67a4 View commit details
    Browse the repository at this point in the history