1.0.16 • Published 3 years ago

spektate v1.0.16

Weekly downloads
75
License
MIT
Repository
github
Last release
3 years ago

Spektate

This library contains the modules that extract information from an Azure storage table containing deployments for Bedrock's observability.

This is currently being used as a backend to Spektate dashboard and CLI and can be extended to other applications.

Getting started

To add this package to your project, run yarn add spektate or npm install spektate depending on your package manager.

To get a list of all deployments, run

const getPipeline = () => {
  return new AzureDevOpsPipeline(
    config.AZURE_ORG,
    config.AZURE_PROJECT,
    config.AZURE_PIPELINE_ACCESS_TOKEN
  );
};

const deployments: IDeployment[] = await getDeployments(
  config.STORAGE_ACCOUNT_NAME,
  config.STORAGE_ACCOUNT_KEY,
  config.STORAGE_TABLE_NAME,
  config.STORAGE_PARTITION_KEY,
  getPipeline(), // SRC pipeline
  getPipeline(), // ACR pipeline
  getPipeline(), // HLD pipeline
  undefined
);

To see examples of how this library is used, refer to code here.

Development

  1. Clone the project and run yarn.
  2. Run yarn build to build the lib folder that contains all the built files
  3. To publish a change, you must be logged into npm. Run yarn publish to publish a new version to this package.
1.0.16

3 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.9

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.19

4 years ago

0.1.18

4 years ago

0.1.17

4 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.14

4 years ago

0.1.13

4 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago