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

dazn-datadog-metrics is not public #51

Closed
theburningmonk opened this issue Jun 21, 2019 · 5 comments · Fixed by #79
Closed

dazn-datadog-metrics is not public #51

theburningmonk opened this issue Jun 21, 2019 · 5 comments · Fixed by #79
Labels
bug Something isn't working

Comments

@theburningmonk
Copy link
Contributor

This is a Bug Report

Description

  • What went wrong?

The HTTP client depends on dazn-datadog-metrics which is not public. So npm install fails:

image

Additional Data

  • Which powertool package are you using?: http-client
  • Which version are you using?: 1.5.1
  • Middy engine version you're using:
  • Operating System: OSX
  • Stack Trace:
  • Provider Error messages:
@theburningmonk theburningmonk added the bug Something isn't working label Jun 21, 2019
@theburningmonk
Copy link
Contributor Author

@simontabor I'm interested in your opinion on this. Given how long it took to open source the powertools project, and without it the HTTP module is basically not available to anyone outside DAZN, I think the best course of action is to move the datadog-metrics module into powertools.

Alternatively, we could remove the metrics tracking from the HTTP client, but that'd be a breaking change and I'd rather avoid that (otherwise we'd break people's dashboards and alerts if they depend on the metrics from the HTTP client, and I think the metrics are useful to have).

@Rule1001
Copy link

Rule1001 commented Jun 24, 2019

@theburningmonk I think the change has caused a possible issue effecting tools such as @perform/lambda-powertools-correlation-ids which requires dazn-datadog-metrics as a dependancy. Can you offer any guidance?

steps to reproduce

  1. npm i @perform/lambda-powertools-http-client

Output

`npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@perform%2fdazn-datadog-metrics - Not found
npm ERR! 404
npm ERR! 404 '@perform/dazn-datadog-metrics@^1.0.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of '@perform/lambda-powertools-http-client'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:`

@theburningmonk
Copy link
Contributor Author

Hi @Rule1001, that's what this issue is about, that the dazn-datadog-metrics is a dependency for the HTTP client but it's not yet public. So the PR #63 is intended to address this by pulling it into this repo instead, otherwise we'd have to wait for a lengthy approval process to get the other package open sourced as well.

Apologies, I never noticed this while I was at DAZN as I had access to all DAZN packages :-(

@RenatoFranze
Copy link

Hi @theburningmonk , do you have any news regardind this bug? I really want to use this package in my project, but this dependecy is keeping me away from it.

I saw that you alredy created a pull request to fix this situation, but, meanwhile, do you have any workaround to suggest?

Thanks!

@cirpo
Copy link

cirpo commented Jul 22, 2019

👋we can publish that package to dazn org on npmjs.com

@gsingh1 @simontabor are taking care of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants