Skip to content

Commit de20ca3

Browse files
author
Glyn Normington
committed
Add Spring Insight documentation
[#59671032]
1 parent 0415bcd commit de20ca3

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The buildpack supports configuration and extension through the use of Git reposi
3030
* [Play Auto Reconfiguration](docs/framework-play-auto-reconfiguration.md) ([Configuration](docs/framework-play-auto-reconfiguration.md#configuration))
3131
* [Play JPA Plugin](docs/framework-play-jpa-plugin.md) ([Configuration](docs/framework-play-jpa-plugin.md#configuration))
3232
* [Spring Auto Reconfiguration](docs/framework-spring-auto-reconfiguration.md) ([Configuration](docs/framework-spring-auto-reconfiguration.md#configuration))
33+
* [Spring Insight](docs/framework-spring-insight.md) ([Configuration](docs/framework-spring-insight.md#configuration))
3334
* Standard JREs
3435
* [OpenJDK](docs/jre-openjdk.md) ([Configuration](docs/jre-openjdk.md#configuration))
3536
* [Extending](docs/extending.md)

docs/framework-spring-insight.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Spring Insight Framework
2+
The Spring Insight Framework causes an application to be automatically configured to work with a bound [Spring Insight Service][].
3+
4+
<table>
5+
<tr>
6+
<td><strong>Detection Criterion</strong></td><td>Existence of a single bound Spring Insight service. The existence of a Spring Insight service defined by the <a href="http://docs.cloudfoundry.com/docs/using/deploying-apps/environment-variable.html#VCAP_SERVICES"><code>VCAP_SERVICES</code></a> payload containing a service name-version, name, label or tag with <code>insight</code> as a substring.
7+
</td>
8+
</tr>
9+
<tr>
10+
<td><strong>Tags</strong></td><td><tt>spring-insight=&lt;version&gt;</tt></td>
11+
</tr>
12+
</table>
13+
Tags are printed to standard output by the buildpack detect script
14+
15+
## User-Provided Service
16+
When binding Spring Insight as a user-provided service, it must have name, label, or tag with <code>insight</code> as a substring. The credential payload contains the following entries:
17+
18+
| Name | Description
19+
| ---- | -----------
20+
| `dashboard_url` | The URL via which users access the Spring Insight dashboard.
21+
22+
## Configuration
23+
For general information on configuring the buildpack, refer to [Configuration and Extension][].
24+
25+
The framework is configured entirely via <code>VCAP_SERVICES</code>. It is not configurable via the buildpack (although an empty configuration file [`config/springinsight.yml`][] is present).
26+
27+
[`config/springinsight.yml`]: ../config/springinsight.yml
28+
[Spring Insight Service]: http://gopivotal.com/pivotal-products/apps/pivotal-tc-server
29+
[Configuration and Extension]: ../README.md#Configuration-and-Extension

0 commit comments

Comments
 (0)