Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mozaik-ext-dynatrace-api

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mozaik-ext-dynatrace-api

A mozaik widget that allows dynatrace information to be displayed in a graph

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
increased by475%
Maintainers
1
Weekly downloads
 
Created
Source

Mozaïk DynaTrace Api widget

Use DynaTrace's Api to display graphs from DynaTrace onto Mozaïk dashboard framework.

Preview

value

DynaTrace Api widget Configuration

Api Configuration

api: {
  dynatrace: {
    apiToken: process.env.DYNATRACE_APITOKEN
  }
}

Working Example Dashboard Configuration

{
  type:               'dynatrace.graph',
  title:              'Global Web App Requests',
  chartType:          'ComboChart',
  seriesType:         'bars',
  isStacked:          true,
  baseUrl: 'https://example.live.dynatrace.com',
  datasets:[
      {
          query: 'relativeTime=Day&entity=SERVICE-E7EA44342E9D42A6&aggregationType=COUNT&timeseriesId=com.dynatrace.builtin:service.requestspermin',
          legend: 'Web App Ireland Requests',
          colour:'#2b77f2',
      },
      {
          query: 'relativeTime=Day&entity=SERVICE-E7EA44342E9D42A6&aggregationType=AVG&timeseriesId=com.dynatrace.builtin:service.failurerate',
          legend: 'Web App Ireland Failed Requests',
          colour:'#ff0000',
      },
      {
          query: 'relativeTime=Day&entity=SERVICE-9A91D2F733E6322A&aggregationType=COUNT&timeseriesId=com.dynatrace.builtin:service.requestspermin',
          legend: 'Web App Japan Requests',
          colour:'#6298ef',
      },
      {
          query: 'relativeTime=Day&entity=SERVICE-9A91D2F733E6322A&aggregationType=AVG&timeseriesId=com.dynatrace.builtin:service.failurerate',
          legend: 'Web App Japan Failed Requests',
          colour:'#ff6868',
      }
  ],
  graphID:            "dynatrace5",
  heightpx:           "812.922px",
  xLabel:             "Time",
  yLabel:             "Requests", 
  minValue:           0,
  fontsize:           20,
  columns: 2, rows: 4,
  x: 0, y: 0
}

Parameters

For information on obtaining your baseUrl, relativeTime, entity and timeseriesId, see the dynatrace api documentation.

keyrequireddescriptionExamples
chartTypeyesThe chart type. The types of chart you can choose from can be found here'AreaChart'
baseUrlyesYour DynaTrace base url'https://example.live.dynatrace.com'
titleyesThe widget title'App Service 1 Requests (Last day/every hour):'
datasets.queryyesThe time series query'relativeTime=Day&entity=SERVICE-E7EA44342E9D45B9&aggregationType=COUNT&timeseriesId=com.dynatrace.builtin:service.requestspermin'
datasets.legendyeslegend display for the query'Web App Ireland Requests'
datasets.colournolegend and line colour for the query'#00a1ff'
graphIDyesChoose a unique ID for your graph'UniqueID23'
xlabelyesChoose a label name for the x-axis of the graph'Time'
yLabelyes  Choose a label name for the y-axis of the graph'Requests'
slantedTextnoChoose whether to have the xAxis value labels slantedtrue or false
slantedTextAnglenoChoose the degree of angle for the slanteed xAxis value labels25
seriesTypenoChoose the way the data is displayed on the graph'bars'
fontsizenoChoose the size of the graph's text font10
pointsizenoChoose the size of the data points5
heightpxnoChoose the height of your graph, default being 300px200px
minValuenoThe minimum value allowed to be displayed on the graph0
maxValuenoThe maximum value allowed to be displayed on the graph100
isStackednoStacks the bar lines/area lines on top of each other, false by defaulttrue
isMicroSecondsnoSome timeseriesId return the data in microseconds, this converts that data into miliseconds, false by defaulttrue

Keywords

FAQs

Package last updated on 31 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc