Skip to content
Snippets Groups Projects
Select Git revision
  • e66cfa3c21c719fc6f3adc84f63bf2e064b6cd1c
  • master default protected
  • gh-pages
  • dependabot/npm_and_yarn/eslint-plugin-jsdoc-51.0.3
  • dependabot/npm_and_yarn/nock-14.0.5
  • dependabot/npm_and_yarn/react-19.1.0
  • dependabot/npm_and_yarn/react-dom-19.1.0
  • server-2025-02-01-6100669a
  • server-2024-11-01-87cba042
  • server-2024-10-01-6875b7c8
  • dependabot/npm_and_yarn/path-to-regexp-8.2.0
  • server-2024-09-01-3d52575c
  • daily-tests-gha2
  • daily-tests-gha
  • server-2023-12-01-92d8fb8e
  • server-2023-11-01-a80c93fd
  • server-2023-10-01-31096085
  • coc-v2
  • server-2023-09-01-8edc3810
  • server-2023-08-01-75858a03
  • server-2023-07-01-02183d8d
  • server-2025-07-01
  • 5.0.2
  • 5.0.1
  • 5.0.0
  • server-2025-06-01
  • server-2025-05-01
  • server-2025-04-03
  • server-2025-03-02
  • server-2025-03-01
  • server-2025-02-02
  • server-2025-01-01
  • server-2024-12-01
  • server-2024-11-02
  • 4.1.0
  • server-2024-09-25
  • server-2024-09-02
  • server-2024-08-01
  • server-2024-07-01
  • 4.0.0
  • server-2024-06-01
41 results

prometheus-metrics.js

  • Marcin Mielnicki's avatar
    e66cfa3c
    :chart_with_upwards_trend: PaaS-friendly metrics (#4874) · e66cfa3c
    Marcin Mielnicki authored
    * prom-client JSON to InfluxDB line protocol converter
    
    * Converts a metric with separate names
    
    * prom-client JSON to InfluxDB line protocol (version 2) converter
    
    * Server has instance id
    
    * Read the instance id from an environment variable
    
    * More unit tests for instance-metadata
    
    * Log instance id
    
    * Push influx metrics
    
    * INSTANCE_ID with dyno metadata
    
    * Prepare influx metrics in one place
    
    * Influx metrics endpoint should return metrics
    
    * More readable tests
    
    * Env added to instance metadata
    
    * hostname as an instance label value
    
    * HEROKU_DYNO_ID as an instance id for heroku
    
    * Instance env can be set by env variable
    
    * HEROKU_APP_NAME as an instance env
    
    * Log instance metadata as a JSON
    
    * Typo fix
    
    * Code refactoring in tests
    
    * wait-for-expect dev dependency added
    
    * Test for pushing metrics
    
    * Test for pushing metrics
    
    * Use basic authentication for pushing metrics
    
    * intervalSeconds=2 for development env
    
    * Using existing methods
    
    * TODOs removed
    
    * Schema for influx credentials
    
    * Influx config removed from config files
    
    * Require username and password when influx metrics are enabled
    
    * Unused args removed
    
    * pushing component should log errors
    
    * Speed up tests
    
    * should log error responses
    
    * InstanceMetadata class replaces by simple object
    
    * Influx metrics can be configuredd by env variables
    
    * Use application label name instead of service
    
    * Unused code removed
    
    * Integration test for prom-client and converter
    
    * metrics.influx.enabled configuration option added
    
    * Improved influx configuration schema
    
    * instanceMetadata validation
    
    * Typo fix
    
    * Default value for env
    
    * metrics.infux.hostnameAsAInstanceId added
    
    * should add hostname as an instance label when hostnameAsAInstanceId is enabled
    
    * Default values for influx configuration
    
    * flatMap is not available in Node.js 9.4
    
    * Env vars removed from Procfile
    
    * Better instance metadata values in tests
    
    * Typo fix
    
    * lodash.groupby added to prod dependencies
    
    * Allow other keys in private config
    
    * Missing test - should allow other private keys when influx metrics are enabled
    
    * Missing test - should require private metrics config when influx configuration is enabled
    
    * log.error instead of console.log
    
    * metrics.influx.uri -> metrics.influx.url
    
    * Unused arguments removed
    
    * async removed
    
    * promisify sendMetrics
    
    * Allow to disable prometheus metrics
    
    * Create test server with custom config
    
    * 'metrics-influx' resource removed
    
    * 'metrics-influx' resource removed
    
    * Private config schema flattened out
    
    * Extra code removed in Prometheus tests
    
    * promisify moved outside of the class
    
    * Do not throw errors from got in a specific test
    
    * hostnameAliases added
    
    * instanceIdFrom added
    
    * instanceIdEnvVarName added
    
    * envLabel added to schema
    
    * instanceMetadata is not used by InfluxMetrics
    
    * Instance metadata removed
    
    * hostnameAsAnInstanceId removed
    
    * A comment added
    
    * waitForExpect removed
    
    * Unused code removed
    e66cfa3c
    History
    :chart_with_upwards_trend: PaaS-friendly metrics (#4874)
    Marcin Mielnicki authored
    * prom-client JSON to InfluxDB line protocol converter
    
    * Converts a metric with separate names
    
    * prom-client JSON to InfluxDB line protocol (version 2) converter
    
    * Server has instance id
    
    * Read the instance id from an environment variable
    
    * More unit tests for instance-metadata
    
    * Log instance id
    
    * Push influx metrics
    
    * INSTANCE_ID with dyno metadata
    
    * Prepare influx metrics in one place
    
    * Influx metrics endpoint should return metrics
    
    * More readable tests
    
    * Env added to instance metadata
    
    * hostname as an instance label value
    
    * HEROKU_DYNO_ID as an instance id for heroku
    
    * Instance env can be set by env variable
    
    * HEROKU_APP_NAME as an instance env
    
    * Log instance metadata as a JSON
    
    * Typo fix
    
    * Code refactoring in tests
    
    * wait-for-expect dev dependency added
    
    * Test for pushing metrics
    
    * Test for pushing metrics
    
    * Use basic authentication for pushing metrics
    
    * intervalSeconds=2 for development env
    
    * Using existing methods
    
    * TODOs removed
    
    * Schema for influx credentials
    
    * Influx config removed from config files
    
    * Require username and password when influx metrics are enabled
    
    * Unused args removed
    
    * pushing component should log errors
    
    * Speed up tests
    
    * should log error responses
    
    * InstanceMetadata class replaces by simple object
    
    * Influx metrics can be configuredd by env variables
    
    * Use application label name instead of service
    
    * Unused code removed
    
    * Integration test for prom-client and converter
    
    * metrics.influx.enabled configuration option added
    
    * Improved influx configuration schema
    
    * instanceMetadata validation
    
    * Typo fix
    
    * Default value for env
    
    * metrics.infux.hostnameAsAInstanceId added
    
    * should add hostname as an instance label when hostnameAsAInstanceId is enabled
    
    * Default values for influx configuration
    
    * flatMap is not available in Node.js 9.4
    
    * Env vars removed from Procfile
    
    * Better instance metadata values in tests
    
    * Typo fix
    
    * lodash.groupby added to prod dependencies
    
    * Allow other keys in private config
    
    * Missing test - should allow other private keys when influx metrics are enabled
    
    * Missing test - should require private metrics config when influx configuration is enabled
    
    * log.error instead of console.log
    
    * metrics.influx.uri -> metrics.influx.url
    
    * Unused arguments removed
    
    * async removed
    
    * promisify sendMetrics
    
    * Allow to disable prometheus metrics
    
    * Create test server with custom config
    
    * 'metrics-influx' resource removed
    
    * 'metrics-influx' resource removed
    
    * Private config schema flattened out
    
    * Extra code removed in Prometheus tests
    
    * promisify moved outside of the class
    
    * Do not throw errors from got in a specific test
    
    * hostnameAliases added
    
    * instanceIdFrom added
    
    * instanceIdEnvVarName added
    
    * envLabel added to schema
    
    * instanceMetadata is not used by InfluxMetrics
    
    * Instance metadata removed
    
    * hostnameAsAnInstanceId removed
    
    * A comment added
    
    * waitForExpect removed
    
    * Unused code removed