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.0.10
  • 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:              'PPWebAppSystemTest CPU Percentage:',
  chartType:          'AreaChart',
  baseUrl:            'https://example.live.dynatrace.com',
  relativeTime:       '2hours',
  entity:             'HOST-91ED4498C311CGHT',
  aggregationType:    'AVG',
  timeseriesId:       'com.dynatrace.builtin:host.cpu.user',
  graphID:            "dynatrace2",
  heightpx:           "368px",
  xLabel:             "Time",
  xType:              "string", 
  yLabel:             "CPU Usage Percentage",
  yType:              "number",  
  minValue:           0,
  maxValue:           100,   
  fontsize:           10,
  columns: 1, rows: 2,
  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'
relativeTimeyesChoose the length of time in the past to display the data from'hour', '2hours', 'day', 'week', and 'month'
entityyesThe entity ID'APPLICATION-EA7C4B59F27D4NGK'
timeseriesIdyesThe timeseriesId'com.dynatrace.builtin:host.cpu.user'
titleyesThe widget title'App Service 1 Requests (Last day/every hour):'
apiKeyyesYour Application Insights api key. Details to generate your api key can be found here'DEMO_KEY'
graphIDyesChoose a unique ID for your graph'UniqueID23'
xlabelyesChoose a label name for the x-axis of the graph'Time'
xTypeyesChoose the type of values that will be displayed along the x-axis'String'
yLabelyes  Choose a label name for the y-axis of the graph'Requests'
yTypeyesChoose the type of values that will be displayed along the y-axis'number'
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
linecolournoChoose the colour of the line plot, default being blue'#f00'
minValuenoThe minimum value allowed to be displayed on the graph0
maxValuenoThe maximum value allowed to be displayed on the graph100

Keywords

FAQs

Package last updated on 25 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