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

Add Metrics API and RESTAPI class #46

Merged
merged 12 commits into from
Jun 26, 2020
Merged

Add Metrics API and RESTAPI class #46

merged 12 commits into from
Jun 26, 2020

Conversation

cgcardona
Copy link
Contributor

@cgcardona cgcardona commented Jun 26, 2020

  • Add MetricsAPI class
  • Add RESTAPI class
  • Add tests

Callable like this:

const avalanche: Avalanche = new Avalanche(ip, port, protocol, networkID);
const metrics: Metrics = avalanche.Metrics();
const main = async () => {
  let m = await metrics.getMetrics();
}

This addresses Issue 39.

* Add RAWAPI class
* Add tests
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
@cgcardona cgcardona changed the title Add Metrics API Add Metrics API and RESTAPI class Jun 26, 2020
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
tests/apis/avm/utxos.test.ts Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
src/utils/types.ts Outdated Show resolved Hide resolved
@collincusce collincusce merged commit acf6f51 into master Jun 26, 2020
@cgcardona cgcardona deleted the metrics-api branch June 26, 2020 18:03
@cgcardona cgcardona mentioned this pull request Jun 26, 2020
dfenstermaker pushed a commit that referenced this pull request Feb 22, 2023
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.

None yet

2 participants