Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prometheus-community/postgres_exporter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: neel5481/postgres_exporter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 8 commits
  • 0 files changed
  • 1 contributor

Commits on Jun 15, 2020

  1. Run the query for specific database version if provided from yml file.

    By default query will run on all the databases if "runonserver" is not provided.
    
    If user want the query to be run on multiple database versions, use below string.
      runonserver: "9.5, 9.6"
    
    Example yml file as below. ( e.g. below query will run only on database version 9.5 )
    
    pg_replication:
      query: "SELECT EXTRACT(EPOCH FROM (now() - pg_last_xact_replay_timestamp())) as lag"
      master: true
      runonserver: "9.5"
      metrics:
        - lag:
            usage: "GAUGE"
            description: "Replication lag behind master in seconds"
    neel5481 committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    769f487 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Fixed the below review comments given by Ashesh Vashi

        Instead of having db version string from yml file, user can define the range of
        database server version where query is to be executed.
    
        If user want to run the query on database version greater than 10.0.0, use below format.
          runonserver: ">=10.0.0"
    
          Below are the example of db version range user can defined in yml file.
                <=10.1.0
                >=12.1.0
                =11.0.0
                <9.6.0 || >=11.0.0
    neel5481 committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    1e1e4e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

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

Commits on Feb 11, 2021

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

Commits on Feb 12, 2021

  1. Remove the call from unused places where 'runOnServer' is not required.

    Only Server type hold that value.
    neel5481 committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    dce6fac View commit details
    Browse the repository at this point in the history
  2. Fix compilation issues.

    neel5481 committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    4d0e431 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1b5087 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. Merge the upstream branch

    neel5481 committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    607cd75 View commit details
    Browse the repository at this point in the history
Loading