Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(prom-example): remove deprecated startServer #2801

Closed
wants to merge 1 commit into from

Conversation

naseemkullah
Copy link
Member

@naseemkullah naseemkullah commented Feb 21, 2022

and destructure DEFAULT_OPTIONS to obtain port endpoint to make log message more compact

and destructure DEFAULT_OPTIONS to obtain port endpoint to make log message more compact
@naseemkullah naseemkullah requested a review from a team February 21, 2022 20:26
@@ -3,16 +3,13 @@
const { MeterProvider } = require('@opentelemetry/sdk-metrics-base');
const { PrometheusExporter } = require('@opentelemetry/exporter-prometheus');

const exporter = new PrometheusExporter(
{
startServer: true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could instead replace with preventStartServer: false but it is implicit so removing altogether

@codecov
Copy link

codecov bot commented Feb 21, 2022

Codecov Report

Merging #2801 (a7e7ace) into main (b756b7c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2801   +/-   ##
=======================================
  Coverage   93.42%   93.42%           
=======================================
  Files         159      159           
  Lines        5449     5449           
  Branches     1143     1143           
=======================================
  Hits         5091     5091           
  Misses        358      358           

@naseemkullah
Copy link
Member Author

closed in favor of #2802

@pichlermarc pichlermarc deleted the naseemkullah-patch-1 branch December 18, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant